Skip to content

[codex] Enable apply_patch freeform by default#21687

Merged
aibrahim-oai merged 5 commits into
mainfrom
codex/apply-patch-freeform-default-on
May 8, 2026
Merged

[codex] Enable apply_patch freeform by default#21687
aibrahim-oai merged 5 commits into
mainfrom
codex/apply-patch-freeform-default-on

Conversation

@aibrahim-oai
Copy link
Copy Markdown
Collaborator

Summary

  • enable apply_patch_freeform by default in the feature registry

Why

  • make the freeform apply_patch tool available by default when model metadata does not explicitly opt into another mode

Validation

  • just fmt
  • did not run tests

@aibrahim-oai aibrahim-oai marked this pull request as ready for review May 8, 2026 12:22
@aibrahim-oai aibrahim-oai requested a review from a team as a code owner May 8, 2026 12:22
@aibrahim-oai aibrahim-oai enabled auto-merge (squash) May 8, 2026 12:22
Copy link
Copy Markdown
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.

Reviewed commit: 0e53d9c8e3

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

stage: Stage::UnderDevelopment,
default_enabled: false,
stage: Stage::Stable,
default_enabled: true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Badge Gate freeform default by model capability

Setting this feature on by default makes every model whose apply_patch_tool_type is None get a freeform grammar tool via ToolsConfig::new's None => ...Freeform branch. Catalog entries such as Bedrock GPT-OSS still use None, and the JSON apply_patch tool is documented as the GPT-OSS-compatible path, so those sessions will now send an unsupported freeform tool unless explicitly disabled.

Useful? React with 👍 / 👎.

Co-authored-by: Codex <noreply@openai.com>
@aibrahim-oai aibrahim-oai merged commit cce0594 into main May 8, 2026
26 checks passed
@aibrahim-oai aibrahim-oai deleted the codex/apply-patch-freeform-default-on branch May 8, 2026 13:15
@github-actions github-actions Bot locked and limited conversation to collaborators May 8, 2026
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