Skip to content

Add GPT-5.6 support - #10384

Merged
angiejones merged 2 commits into
mainfrom
fix/gpt-5-6-model-support-pr
Jul 14, 2026
Merged

Add GPT-5.6 support#10384
angiejones merged 2 commits into
mainfrom
fix/gpt-5-6-model-support-pr

Conversation

@angiejones

@angiejones angiejones commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add GPT-5.6 model support for OpenAI and ChatGPT Codex, including updated reasoning effort handling, Responses API params, and regenerated canonical metadata.

Note: I ran cargo run --bin build_canonical_models to pull from models.dev, which includes the GPT-5.6 family metadata. The generated files changed more than just GPT-5.6 because there was more in the upstream models.dev since the last generation.

Testing

Added tests:

  • test_responses_request_supports_gpt_5_6_xhigh_effort
  • test_responses_request_omits_default_max_output_tokens_for_unknown_model
  • test_responses_request_includes_canonical_max_output_tokens
  • test_known_model_names_include_gpt_5_6_models
  • test_reasoning_levels_for_model
  • test_create_codex_request_off_sets_none_for_gpt_5_6_models

Ran:

  • cargo test -p goose-provider-types openai
  • cargo test -p goose-providers openai

Issue to be addressed later: #10385

@angiejones
angiejones force-pushed the fix/gpt-5-6-model-support-pr branch from e558fd5 to 3d7bf34 Compare July 11, 2026 03:56

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

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.

Reviewed commit: e558fd5c30

ℹ️ 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 thread crates/goose-provider-types/src/formats/openai.rs
Comment thread crates/goose-provider-types/src/formats/openai_responses.rs Outdated
@angiejones
angiejones force-pushed the fix/gpt-5-6-model-support-pr branch from 3d7bf34 to f3b87b9 Compare July 11, 2026 04:24

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

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.

Reviewed commit: f3b87b9a64

ℹ️ 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 thread crates/goose-providers/src/openai.rs
@angiejones
angiejones force-pushed the fix/gpt-5-6-model-support-pr branch from f3b87b9 to b7ef5cf Compare July 11, 2026 04:34
@angiejones
angiejones enabled auto-merge July 12, 2026 12:10

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

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.

Reviewed commit: 0bc46cb50b

ℹ️ 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 thread crates/goose/src/providers/chatgpt_codex.rs
@angiejones
angiejones added this pull request to the merge queue Jul 14, 2026
Merged via the queue into main with commit 6e8f710 Jul 14, 2026
25 checks passed
@angiejones
angiejones deleted the fix/gpt-5-6-model-support-pr branch July 14, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants