Skip to content

chore: add gpt-5.5 for codex plans#1605

Merged
looplj merged 1 commit into
looplj:unstablefrom
qinkangdeid:chore/codex-add-gpt-5-5
May 7, 2026
Merged

chore: add gpt-5.5 for codex plans#1605
looplj merged 1 commit into
looplj:unstablefrom
qinkangdeid:chore/codex-add-gpt-5-5

Conversation

@qinkangdeid

Copy link
Copy Markdown
Contributor

ChatGPT Codex CLI now lists gpt-5.5 (current) - Frontier model for complex coding, research, and real-world work as the headline model, and the upstream registry that this list mirrors (router-for-me/CLIProxyAPI internal/registry/models/models.json) already includes it.

Without this entry AxonHub fails inbound validation with model not found: gpt-5.5 (HTTP 422), so codex channels cannot expose the new model even when it is available on the user account.

Change: one-line addition to llm/transformer/openai/codex/constants.go's DefaultModels(), same shape as #1006 (gpt-5.4) and #1162 (gpt-5.4-mini / gpt-5.3-codex-spark).

Tested locally: with this change, a codex channel binding claude-opus-4-7 → gpt-5.5 via modelMappings returns HTTP 200 from the ChatGPT Codex backend.

ChatGPT Codex CLI now lists `gpt-5.5 (current) - Frontier model for
complex coding, research, and real-world work` as the headline model,
and the upstream registry that this list mirrors
(router-for-me/CLIProxyAPI internal/registry/models/models.json)
already includes it.

Without this entry AxonHub fails inbound validation with
`model not found: gpt-5.5` (HTTP 422), so codex channels cannot
expose the new model even when it is available on the user account.
@greptile-apps

greptile-apps Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Adds gpt-5.5 to the static model registry used by the ChatGPT Codex channel so that AxonHub passes inbound model-ID validation for requests targeting the new model.

  • One entry appended to DefaultModels() in llm/transformer/openai/codex/constants.go, matching the identical shape of earlier additions (gpt-5.4, gpt-5.4-mini, gpt-5.3-codex-spark).
  • No logic, no routing, no auth paths are touched; the change only widens the accepted model-ID list that powers "Fetch Models" and request validation.

Confidence Score: 5/5

Safe to merge — the change is a single string appended to a static list with no side-effects on existing behaviour.

The only touched code is a static string slice. Adding an entry cannot break existing model lookups, routing logic, or auth flows. The new entry follows the exact same pattern as every prior model addition in this file.

No files require special attention.

Important Files Changed

Filename Overview
llm/transformer/openai/codex/constants.go Adds "gpt-5.5" to the static DefaultModels() slice, consistent with all prior model additions in the same file

Sequence Diagram

sequenceDiagram
    participant Client as Codex CLI
    participant AxonHub as AxonHub Proxy
    participant Registry as DefaultModels()
    participant Backend as ChatGPT Codex Backend

    Client->>AxonHub: POST /chat (model: gpt-5.5)
    AxonHub->>Registry: Validate model ID
    Note over Registry: "gpt-5.5" now present ✓
    Registry-->>AxonHub: valid
    AxonHub->>Backend: Forward request (gpt-5.5)
    Backend-->>AxonHub: HTTP 200
    AxonHub-->>Client: Response
Loading

Reviews (1): Last reviewed commit: "chore: add gpt-5.5 for codex plans" | Re-trigger Greptile

@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.5" model to the list of default models in the Codex transformer constants. I have no feedback to provide as there were no review comments.

@looplj looplj merged commit e229784 into looplj:unstable May 7, 2026
4 checks passed
looplj pushed a commit that referenced this pull request May 8, 2026
ChatGPT Codex CLI now lists `gpt-5.5 (current) - Frontier model for
complex coding, research, and real-world work` as the headline model,
and the upstream registry that this list mirrors
(router-for-me/CLIProxyAPI internal/registry/models/models.json)
already includes it.

Without this entry AxonHub fails inbound validation with
`model not found: gpt-5.5` (HTTP 422), so codex channels cannot
expose the new model even when it is available on the user account.

Co-authored-by: 覃康 <qinkang@robotees.tech>
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.

2 participants