Skip to content

chore: sync new models#774

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

chore: sync new models#774
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 11, 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 13, 2026 11:49am

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

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

@github-actions github-actions Bot force-pushed the chore/sync-new-models branch from e5ca159 to 62073b4 Compare June 12, 2026 12:17
@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: 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".

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

@github-actions github-actions Bot force-pushed the chore/sync-new-models branch from 62073b4 to fbe834c Compare June 13, 2026 11:44
@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: 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".

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

@github-actions github-actions Bot force-pushed the chore/sync-new-models branch from fbe834c to bdfdd8d Compare June 13, 2026 11:48
@github-actions

Copy link
Copy Markdown
Contributor Author

Codex Review Response

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

Codex correctly identified that the dated model entry claude-opus-4-7-20260416 had "format": "openai" instead of "format": "anthropic". Since this model is only routed to the anthropic provider, the wrong format would cause the proxy to send an OpenAI-shaped payload to the Anthropic API, making the model unusable.

Fix: Changed "format": "openai" to "format": "anthropic" in packages/proxy/schema/model_list.json (line 2305), consistent with all other direct Anthropic-provider entries in the catalog.

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