chore: update model catalog from bot issues#772
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: 94ec4c29d0
ℹ️ 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".
| "grok-vision-beta": ["xAI"], | ||
| "grok-beta": ["xAI"], | ||
| "gemini-3-pro-image": ["google","vertex"], | ||
| "publishers/google/models/gemini-3-pro-image": ["google"], |
There was a problem hiding this comment.
Route publisher Gemini model through Vertex
For the publishers/google/models/... alias, this provider list makes endpoint selection prefer Google API keys; fetchGoogleChatCompletions then calls the Gemini API as https://generativelanguage.googleapis.com/v1beta/models/${model}:..., which is not the publisher-model Vertex path. I checked the current Google docs, where the Gemini API model code is the bare gemini-3-pro-image (https://ai.google.dev/gemini-api/docs/models/gemini-3-pro-image) while the publisher-style path belongs to Vertex/Agent Platform (https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-pro-image), and every other publishers/google/models/* mapping in this file is vertex, so users selecting this alias with Google credentials will route to an invalid endpoint instead of Vertex.
Useful? React with 👍 / 👎.
…ntion Addresses the codex-bot P2 on #772. The bot mapped the short alias gemini-3-pro-image to ["google","vertex"] and the publisher alias publishers/google/models/gemini-3-pro-image to ["google"]. That is backwards from every other gemini model (and the gemini-3-pro-image-preview this GA'd from): the short alias must be google-only in AvailableEndpointTypes (vertex on the short name routes to the Vertex rawPredict path with a bare model id and 404s — see #726), and the publishers/google/models/* alias is the Vertex path. - index.ts: gemini-3-pro-image -> ["google"]; publishers/google/models/gemini-3-pro-image -> ["vertex"] - model_list.json: drop available_providers from the publisher entry; all 40 publishers/google/models/* entries leave it unset (the short entry keeps ["google","vertex"]). Metadata verified against Google docs (input 65536 / output 32768; $2 in / $12 out per 1M, standard tier). The model invokes through Google but the gateway currently can't render image-generation responses as chat ("Missing required field: role") — identical to the already-merged gemini-3-pro-image-preview, i.e. a pre-existing limitation, not introduced here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Automated daily batch of model catalog updates from bot issues.
Included issues
Summary
gemini-3-pro-imagepublishers/google/models/gemini-3-pro-imagegemini-3-pro-imagepublishers/google/models/gemini-3-pro-image2
3
Verified metadata
#771: [BOT ISSUE] Google: add stable gemini-3-pro-image model (GA promotion from preview)
Verification notes
Verification Checklist
sync_models vs proposed update
sync_models cross-check found differences. Official provider verification was used for the applied values, and sync_models discrepancies are listed below for review.