-
Notifications
You must be signed in to change notification settings - Fork 6.2k
fix: override verbosity for gpt-5-codex #6007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
987c9ff
7f810f3
739cdc3
2622e69
a0da842
69abc31
5d9428a
daa2ba8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -160,7 +160,7 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> { | |
| reasoning_summary_format: ReasoningSummaryFormat::Experimental, | ||
| base_instructions: GPT_5_CODEX_INSTRUCTIONS.to_string(), | ||
| apply_patch_tool_type: Some(ApplyPatchToolType::Freeform), | ||
| support_verbosity: true, | ||
| support_verbosity: false, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Turning Useful? React with 👍 / 👎. |
||
| ) | ||
| } else if slug.starts_with("gpt-5") { | ||
| model_family!( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting
support_verbositytofalseforgpt-5-codexroutes every call into theelsebranch incore/src/client.rs(lines 216-223). That branch unconditionally emits awarn!aboutmodel_verbositybeing set, even whenself.config.model_verbosityisNone(the default for most users). As a result, every request againstgpt-5-codexwill now log a misleading warning. This regression was not present before this change (the branch was never taken), so we should either keepsupport_verbositytrue and clamp values, or make the warning conditional onmodel_verbosityactually being set.Useful? React with 👍 / 👎.