Skip to content

Conversation

@pakrym-oai
Copy link
Collaborator

@pakrym-oai pakrym-oai commented Nov 13, 2025

Automatically update reasoning levels when migrating between models

…n test

common/model_presets: always enable gpt-5.1-codex-mini in builtin_model_presets

tui: update model selection popup snapshot for gpt-5.1-codex-mini
@pakrym-oai pakrym-oai marked this pull request as ready for review November 13, 2025 05:39
…ported options

tui/app: stop sending Op::OverrideTurnContext on model migration prompt, update config and emit relevant events only
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".

Comment on lines 87 to 109
ModelPreset {
id: "gpt-5.1",
model: "gpt-5.1",
display_name: "gpt-5.1",
description: "Broad world knowledge with strong general reasoning.",
default_reasoning_effort: ReasoningEffort::Medium,
supported_reasoning_efforts: &[
ReasoningEffortPreset {
effort: ReasoningEffort::None,
description: "Fastest responses with no reasoning",
},
ReasoningEffortPreset {
effort: ReasoningEffort::Low,
description: "Balances speed with some reasoning; useful for straightforward queries and short explanations",
},
ReasoningEffortPreset {
effort: ReasoningEffort::Medium,
description: "Provides a solid balance of reasoning depth and latency for general-purpose tasks",
},
ReasoningEffortPreset {
effort: ReasoningEffort::High,
description: "Maximizes reasoning depth for complex or ambiguous problems",
},
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 Fix v2 model list expectations for gpt‑5.1 reasoning

The preset in codex-rs/common/src/model_presets.rs now advertises ReasoningEffort::None for gpt‑5.1 (lines 87‑109), replacing the previous Minimal option. The v2 model list contract/tests (codex-rs/app-server/tests/suite/v2/model_list.rs) still assert that gpt‑5.1 returns ReasoningEffort::Minimal, so running the suite now fails because the API response contains none while the fixture expects minimal. Update the model list test (and any downstream schema/docs) to expect the new none value so the API and tests stay in sync.

Useful? React with 👍 / 👎.

@pakrym-oai pakrym-oai enabled auto-merge (squash) November 13, 2025 06:03
ReasoningEffortConfig::Low => "low",
ReasoningEffortConfig::Medium => "medium",
ReasoningEffortConfig::High => "high",
ReasoningEffortConfig::None => "none",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I might be wrong - do we need to add None here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Someone will eventually ask for it to try it with the API explicitly. We are not showing none in UI

@pakrym-oai pakrym-oai merged commit e3dd362 into main Nov 13, 2025
25 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/reasoning-level-update branch November 13, 2025 06:24
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants