feat(models): add claude-sonnet-5 to Antigravity catalog - #6103
Conversation
The Antigravity OAuth backend catalog (ANTIGRAVITY_PUBLIC_MODELS) listed claude-opus-4-6-thinking and claude-sonnet-4-6 but had no claude-sonnet-5 entry, even though claude-sonnet-5 is already present for Claude Code (registry + pricing). Add the missing catalog entry mirroring the shape of the existing Claude siblings. Co-authored-by: Rex <177378174+anki1kr@users.noreply.github.com> Inspired-by: decolua/9router#2322
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Code Review
This pull request adds the claude-sonnet-5 model to the list of public Antigravity models in open-sse/config/antigravityModelAliases.ts, specifying its capabilities such as context length, max output tokens, reasoning, vision, and tool calling. It also adds corresponding unit tests in tests/unit/antigravity-model-aliases.test.ts to verify the model's availability and properties. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
…pr-2322-antigravity-sonnet5
… keep only the sonnet-5 entry
…w#6103) Add claude-sonnet-5 to Antigravity catalog. Integrated into release/v3.8.44.
Summary
claude-sonnet-5is already present for Claude Code (open-sse/config/providers/registry/claude/index.ts) and in pricing (open-sse/services/providerCostData.ts), but the Antigravity model catalog (ANTIGRAVITY_PUBLIC_MODELSinopen-sse/config/antigravityModelAliases.ts) was missing the corresponding entry — it only listedclaude-opus-4-6-thinkingandclaude-sonnet-4-6.This PR adds a
claude-sonnet-5entry to the Antigravity catalog, mirroring the shape of the existing Claude sibling entries (context length, max output tokens, reasoning/vision/tool-calling flags).Thanks to @anki1kr for the original implementation.
Changes
open-sse/config/antigravityModelAliases.ts— addclaude-sonnet-5toANTIGRAVITY_PUBLIC_MODELS.tests/unit/antigravity-model-aliases.test.ts— extend the existing catalog tests to assertclaude-sonnet-5is present and user-callable.CHANGELOG.md— add the[3.8.44]entry.Test plan
node --import tsx/esm --test tests/unit/antigravity-model-aliases.test.ts— 9/9 passactual: undefined, then passed once the fix was restorednpm run typecheck:core— cleannpx eslint open-sse/config/antigravityModelAliases.ts tests/unit/antigravity-model-aliases.test.ts— 0 errors (3 pre-existinganywarnings unrelated to this change)agy-pro-fallback-chain-3786,pricing-ag-flash-tiers,agy-gemini-3696-tier-passthrough,agy-gemini-400-3229) — all pass