Skip to content

feat: add gpt-5.4 to codex, close #999#1006

Merged
looplj merged 1 commit into
release/v0.9.xfrom
dev-tmp
Mar 9, 2026
Merged

feat: add gpt-5.4 to codex, close #999#1006
looplj merged 1 commit into
release/v0.9.xfrom
dev-tmp

Conversation

@looplj

@looplj looplj commented Mar 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates the new gpt-5.4 model into the system's default configurations, expanding the range of available language models for use within the OpenAI Codex transformer. This ensures the application can leverage the latest model capabilities.

Highlights

  • New Model Integration: The gpt-5.4 model has been added to the list of default models available within the OpenAI Codex transformer.
Changelog
  • llm/transformer/openai/codex/constants.go
    • Added 'gpt-5.4' to the list of default models.
Activity
  • No human activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@looplj looplj merged commit a037667 into release/v0.9.x Mar 9, 2026
2 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request adds the gpt-5.4 model to the list of default Codex models. My review suggests a minor correction to the model name for consistency with other models in the list, proposing gpt-5.4-codex instead. This is to ensure the correct model is being referenced within the Codex context.

"gpt-5.2",
"gpt-5.2-codex",
"gpt-5.3-codex",
"gpt-5.4",

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.

medium

The newly added model gpt-5.4 doesn't have the -codex suffix, unlike other recent additions such as gpt-5.3-codex. For consistency and to ensure the correct, codex-specific model is used, it should likely be named gpt-5.4-codex.

Suggested change
"gpt-5.4",
"gpt-5.4-codex",

looplj pushed a commit that referenced this pull request May 28, 2026
Claude Code 2.x ships claude-opus-4-7 as a first-class model, but
`claudecode.DefaultModels()` still tops out at 4-6 / sonnet-4-6. As a
result, channels of type `claudecode` (Claude MAX OAuth) cannot expose
4-7 via the UI's FetchModels probe — supportedModels never gets the new
entry, so the orchestrator route table rejects requests with HTTP 422
`model not found: claude-opus-4-7`.

Same one-line shape as #1605 (gpt-5.5 for codex) and #1006 (gpt-5.4).

**Tested locally**: with this change, a Claude MAX OAuth channel whose
supportedModels gets claude-opus-4-7 from FetchModels returns HTTP 200
from api.anthropic.com/v1/messages when claude code clients request
claude-opus-4-7.

Co-authored-by: qinkangdeid <qinkangdeid@gmail.com>
junjiangao pushed a commit to junjiangao/axonhub that referenced this pull request May 30, 2026
Claude Code 2.x ships claude-opus-4-7 as a first-class model, but
`claudecode.DefaultModels()` still tops out at 4-6 / sonnet-4-6. As a
result, channels of type `claudecode` (Claude MAX OAuth) cannot expose
4-7 via the UI's FetchModels probe — supportedModels never gets the new
entry, so the orchestrator route table rejects requests with HTTP 422
`model not found: claude-opus-4-7`.

Same one-line shape as looplj#1605 (gpt-5.5 for codex) and looplj#1006 (gpt-5.4).

**Tested locally**: with this change, a Claude MAX OAuth channel whose
supportedModels gets claude-opus-4-7 from FetchModels returns HTTP 200
from api.anthropic.com/v1/messages when claude code clients request
claude-opus-4-7.

Co-authored-by: qinkangdeid <qinkangdeid@gmail.com>
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.

1 participant