-
Notifications
You must be signed in to change notification settings - Fork 5.2k
feat: update default #4076
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
feat: update default #4076
Conversation
...s/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__binary_size_ideal_response.snap
Show resolved
Hide resolved
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.
Codex Review: Here are some suggestions.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
const OPENAI_DEFAULT_MODEL: &str = "gpt-5-codex"; | ||
const OPENAI_DEFAULT_REVIEW_MODEL: &str = "gpt-5-codex"; | ||
pub const GPT_5_CODEX_MEDIUM_MODEL: &str = "gpt-5-codex"; |
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.
[P1] Update model_verbosity
handling for gpt-5-codex default
Changing the default OpenAI model to gpt-5-codex
means the new default Config
carries the gpt-5-codex
family, but the request builder only emits the text.verbosity
field when the family is exactly "gpt-5"
(see client.rs
’s guard). With the new default, any configured model_verbosity
is now ignored and a warning is logged, so users can no longer control verbosity for the default model even though the feature worked before. Unless codex intentionally lacks this field, the check should treat gpt-5-codex
as supporting text.verbosity
as well.
Useful? React with 👍 / 👎.
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.
We should rename these consts instead.
Changes: