Skip to content

fix(registry): sync embedded model catalogs to add gpt-6.2-astra and gpt-6.2-sol - #16

Open
bntvllnt wants to merge 1 commit into
mainfrom
fix/catalog-gpt-6-2-astra
Open

bntvllnt wants to merge 1 commit into
mainfrom
fix/catalog-gpt-6-2-astra

Conversation

@bntvllnt

Copy link
Copy Markdown

Problem

Codex CLI can't use gpt-6.2-astra through api01. The proxy returns model_not_found: unknown provider for model gpt-6.2-astra, and the model is missing from /v1/models.

Root cause

The production image starts with --local-model, so the proxy only uses the embedded catalogs (internal/registry/models/*.json). Those predate gpt-6.2-astra and gpt-6.2-sol, so the registry never registers them for Codex Plus, Team or Pro sign-ins.

Change

  • Sync models.json and codex_client_models.json from upstream router-for-me/models main.
    • Codex Plus/Team/Pro: add gpt-6.2-astra and gpt-6.2-sol. Codex free: drop gpt-6.1-terra (upstream change).
    • Other upstream changes come along too: Gemini 4 entries for aistudio, vertex and antigravity, and a new copilot section (ignored by this fork). Legacy gpt-5.5 loses its Fast service tier.
  • Tests:
    • TestCodexConfigurationUpdateCapability now requires both new models in Team, Plus and Pro.
    • TestModelsWithClientVersionReturnsCodexCatalog checks the Fast tier pass-through on gpt-6.2-astra instead of gpt-5.5.

Verification

  • Both updated tests fail on the old catalog (gpt-6.2-astra is missing) and pass on the new one.
  • go build ./cmd/server passes. go test ./... passes except internal/discovery TestAdvertiserAndBrowser_Integration (mDNS). That test also fails on unmodified main in this environment.

Follow-up

To go live, this needs the next pinned image release (r8) deployed to api01.

…gpt-6.2-sol

Production runs with --local-model, so only the embedded catalogs are used.
They predated gpt-6.2-astra and gpt-6.2-sol, and requests failed with
"unknown provider for model". Sync models.json and codex_client_models.json
from upstream and add regression checks for both models.
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