Skip to content

[codex] move configuration for reasoning summary format to model family config type - #3171

Merged
apanasenko-oai merged 1 commit into
mainfrom
anton_panasenko_model_slug_summary_format
Sep 4, 2025
Merged

apanasenko-oai merged 1 commit into
mainfrom
anton_panasenko_model_slug_summary_format

Conversation

@apanasenko-oai

Copy link
Copy Markdown
Contributor

No description provided.

@apanasenko-oai
apanasenko-oai force-pushed the anton_panasenko_model_slug_summary_format branch from a0dbb72 to 6194d28 Compare September 4, 2025 17:41
@apanasenko-oai
apanasenko-oai force-pushed the anton_panasenko_model_slug_summary_format branch from 6194d28 to 067cdec Compare September 4, 2025 17:45
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Here are some suggestions.

https://github.com/openai/codex/blob/a0dbb72c2fdfa3c92426e9ecf9a1b78f4b7760b8/codex-rs/core/src/config.rs#L712-L727
[P1] Apply reasoning summary format overrides to known model families

The new model_reasoning_summary_format setting is parsed into ConfigToml, but it is only consulted inside the unwrap_or_else branch used when find_family_for_model returns None. For any model whose family is recognized (which is the normal case), the field is ignored and the resulting Config.model_family.reasoning_summary_format remains whatever the built‑in defaults provide. This regresses the previous use_experimental_reasoning_summary flag, which allowed users to force experimental formatting regardless of the model family. If a user sets model_reasoning_summary_format = "experimental" in their config for a known model, the UI will never switch formats. Consider applying the override after find_family_for_model so it affects all models.


Reply with @codex fix comments to fix any unresolved comments.

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".

@apanasenko-oai

Copy link
Copy Markdown
Contributor Author

Codex Review: Here are some suggestions.

https://github.com/openai/codex/blob/a0dbb72c2fdfa3c92426e9ecf9a1b78f4b7760b8/codex-rs/core/src/config.rs#L712-L727

[P1] Apply reasoning summary format overrides to known model families
The new model_reasoning_summary_format setting is parsed into ConfigToml, but it is only consulted inside the unwrap_or_else branch used when find_family_for_model returns None. For any model whose family is recognized (which is the normal case), the field is ignored and the resulting Config.model_family.reasoning_summary_format remains whatever the built‑in defaults provide. This regresses the previous use_experimental_reasoning_summary flag, which allowed users to force experimental formatting regardless of the model family. If a user sets model_reasoning_summary_format = "experimental" in their config for a known model, the UI will never switch formats. Consider applying the override after find_family_for_model so it affects all models.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

will improve this as separate review, since it affects another parameter as well.

@apanasenko-oai
apanasenko-oai removed the request for review from gabriel-openai September 4, 2025 17:52
@apanasenko-oai
apanasenko-oai merged commit e60a44c into main Sep 4, 2025
@apanasenko-oai
apanasenko-oai deleted the anton_panasenko_model_slug_summary_format branch September 4, 2025 18:00
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 4, 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.

2 participants