chore: sync new models#774
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex (@codex) review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e5ca159423
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
| "max_output_tokens": 128000 | ||
| }, | ||
| "claude-opus-4-7-20260416": { | ||
| "format": "openai", |
There was a problem hiding this comment.
Route versioned Claude through Anthropic format
For this new Anthropic-only model, setting format to openai makes fetchModel dispatch to fetchOpenAI; combined with the AvailableEndpointTypes entry pointing this ID at the anthropic provider, requests are sent to Anthropic using the OpenAI chat-completions path/auth instead of the Anthropic /messages handling in fetchAnthropic. This breaks chat calls for claude-opus-4-7-20260416; use format: "anthropic" like the other Claude versioned IDs.
Useful? React with 👍 / 👎.
e5ca159 to
62073b4
Compare
|
Codex (@codex) review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 62073b48cd
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
| "max_output_tokens": 128000 | ||
| }, | ||
| "claude-opus-4-7-20260416": { | ||
| "format": "openai", |
There was a problem hiding this comment.
Use Anthropic format for dated Claude Opus
When callers use the newly added claude-opus-4-7-20260416 model with an Anthropic key, this format makes fetchModel dispatch to fetchOpenAI (see packages/proxy/src/proxy.ts:1728) even though the model is only available from the anthropic provider. That path sends an OpenAI-style /chat/completions request with bearer auth to api.anthropic.com, instead of using the Anthropic message translation path, so this model will fail while the parent and other dated Claude models use "format": "anthropic".
Useful? React with 👍 / 👎.
62073b4 to
fbe834c
Compare
|
Codex (@codex) review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fbe834c837
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
| "max_output_tokens": 128000 | ||
| }, | ||
| "claude-opus-4-7-20260416": { | ||
| "format": "openai", |
There was a problem hiding this comment.
Use Anthropic format for the Anthropic model
This dated Claude entry is only routed to the anthropic endpoint, but fetchModel dispatches on modelSpec.format; with format: "openai", requests for claude-opus-4-7-20260416 go through the OpenAI request/response path instead of fetchAnthropic, so an Anthropic key/base URL receives an OpenAI chat-completions payload and the model is unusable via the listed provider. All other direct Anthropic-provider entries in the catalog use format: "anthropic".
Useful? React with 👍 / 👎.
fbe834c to
bdfdd8d
Compare
Codex Review ResponseAddressed: Fix format for
|
Automated sync of model metadata and newly available models from the approved provider allowlist.