mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
chore: warn when Code Mode lacks model metadata (#29490)
This commit is contained in:
1 parent
b16d2858f5
commit
3310fc8ae5
10 files changed
+275
-12
No files matched your search
@@ -218,7 +218,7 @@ pub(super) async fn user_input_or_turn_inner(
|
||||
})
|
||||
.await;
|
||||
}
|
||||
sess.maybe_emit_unknown_model_warning_for_turn(current_context.as_ref())
|
||||
sess.maybe_emit_model_warnings_for_turn(current_context.as_ref())
|
||||
.await;
|
||||
match sess
|
||||
.steer_input(
|
||||
@@ -673,7 +673,7 @@ pub async fn review(
|
||||
review_request: ReviewRequest,
|
||||
) {
|
||||
let turn_context = sess.new_default_turn_with_sub_id(sub_id.clone()).await;
|
||||
sess.maybe_emit_unknown_model_warning_for_turn(turn_context.as_ref())
|
||||
sess.maybe_emit_model_warnings_for_turn(turn_context.as_ref())
|
||||
.await;
|
||||
sess.refresh_mcp_servers_if_requested(&turn_context, Some(sess.mcp_elicitation_reviewer()))
|
||||
.await;
|
||||
|
||||
Reference in new issue
Block a user