Skip to content

Conversation

@aibrahim-oai
Copy link
Collaborator

@aibrahim-oai aibrahim-oai commented Oct 31, 2025

we are seeing reports of users having verbosity in their config.toml and facing issues. gpt-5-codex doesn't accept other values rather than medium for verbosity.

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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 automated review suggestions for this pull request.

ℹ️ 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
  • 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 address that feedback".

@aibrahim-oai
Copy link
Collaborator Author

@codex review this

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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 automated review suggestions for this pull request.

ℹ️ 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
  • 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 address that feedback".

base_instructions: GPT_5_CODEX_INSTRUCTIONS.to_string(),
apply_patch_tool_type: Some(ApplyPatchToolType::Freeform),
support_verbosity: true,
support_verbosity: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid spurious verbosity warnings

Setting support_verbosity to false for gpt-5-codex routes every call into the else branch in core/src/client.rs (lines 216-223). That branch unconditionally emits a warn! about model_verbosity being set, even when self.config.model_verbosity is None (the default for most users). As a result, every request against gpt-5-codex will now log a misleading warning. This regression was not present before this change (the branch was never taken), so we should either keep support_verbosity true and clamp values, or make the warning conditional on model_verbosity actually being set.

Useful? React with 👍 / 👎.

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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 automated review suggestions for this pull request.

ℹ️ 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
  • 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 address that feedback".

base_instructions: GPT_5_CODEX_INSTRUCTIONS.to_string(),
apply_patch_tool_type: Some(ApplyPatchToolType::Freeform),
support_verbosity: true,
support_verbosity: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid spurious verbosity warning

Turning support_verbosity off for gpt-5-codex causes stream_responses to take the warning branch in core/src/client.rs line 216 on every call. Because the default Config leaves model_verbosity as None, we now emit warn!("model_verbosity is set but ignored…") even when the user never configured it. gpt-5-codex is our default model, so this introduces a new, user-visible warning on every request. This regression didn’t exist before flipping the flag; we either need to keep support_verbosity true or update the warning path to only fire when the option is actually set.

Useful? React with 👍 / 👎.

@aibrahim-oai aibrahim-oai enabled auto-merge (squash) October 31, 2025 00:27
@etraut-openai
Copy link
Collaborator

LGTM, but you might want to look at the issues that codex raised in its code review.

@aibrahim-oai aibrahim-oai disabled auto-merge October 31, 2025 00:27
@aibrahim-oai aibrahim-oai enabled auto-merge (squash) October 31, 2025 00:29
@tibo-openai tibo-openai changed the title override verbosity for gpt-5-codex Oct 31, 2025
@aibrahim-oai aibrahim-oai merged commit dc2aeac into main Oct 31, 2025
25 checks passed
@aibrahim-oai aibrahim-oai deleted the override-verbosity branch October 31, 2025 00:45
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

5 participants