chore: sync new models#798
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: f512586f1d
ℹ️ 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 this Claude snapshot
When claude-opus-4-7-20260416 is selected, AvailableEndpointTypes routes it to an Anthropic secret, but this format makes fetchModel dispatch to fetchOpenAI instead of fetchAnthropic. In that path the proxy posts to https://api.anthropic.com/v1/chat/completions with bearer-style OpenAI handling, bypassing the Anthropic /messages translation and headers, so calls to this newly added Anthropic model will fail rather than behaving like its parent/sibling Claude entries.
Useful? React with 👍 / 👎.
f512586 to
951a00b
Compare
Codex Review ResponseAddressed: Wrong format for
|
Automated sync of model metadata and newly available models from the approved provider allowlist.