Skip to content

chore: sync new models#798

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/sync-new-models
Open

chore: sync new models#798
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/sync-new-models

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated sync of model metadata and newly available models from the approved provider allowlist.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-proxy Ready Ready Preview, Comment Jun 16, 2026 12:48pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor Author

Codex (@codex) review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread packages/proxy/schema/model_list.json Outdated
"max_output_tokens": 128000
},
"claude-opus-4-7-20260416": {
"format": "openai",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@github-actions github-actions Bot force-pushed the chore/sync-new-models branch from f512586 to 951a00b Compare June 16, 2026 12:47
@github-actions

Copy link
Copy Markdown
Contributor Author

Codex Review Response

Addressed: Wrong format for claude-opus-4-7-20260416

Issue: The snapshot model claude-opus-4-7-20260416 had "format": "openai" instead of "format": "anthropic", which would cause the proxy to dispatch requests to the OpenAI fetch path instead of the Anthropic /messages path.

Fix: Changed "format": "openai" to "format": "anthropic" in packages/proxy/schema/model_list.json (line 2305), matching the parent entry claude-opus-4-7. The routing in packages/proxy/schema/index.ts was already correct (["anthropic"]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant