Repository navigation
fix(antigravity): hide deprecated Gemini-Claude models - #1631
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the Antigravity model configuration by renaming public models, updating alias mappings, and refactoring the reverse alias lookup into a static object. Corresponding unit tests were updated to reflect these changes and ensure legacy IDs are correctly excluded from the catalog. Feedback suggests correcting a potential naming error for the Claude Sonnet model and adding a type annotation to the static reverse alias object to maintain TypeScript compatibility.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
4692621
into
cheaper-inference:release/v3.7.1
|
Thanks @backryun for this clean contribution! The deprecated Gemini-Claude model cleanup has been squash-merged into |
…cleanup), fix test regression - PR #1630: Set NPM_CONFIG_LEGACY_PEER_DEPS=true in Dockerfile, remove duplicate COPY - PR #1631: Hide deprecated gemini-claude-* models from catalogs, redirect to Claude 4.6 - Fix provider-models-route test to match renamed model display name - Update CHANGELOG.md with both PR entries
…ence#1631) fix(antigravity): hide deprecated Gemini-Claude models, redirect legacy aliases to Claude 4.6 — integrated into release/v3.7.1
…inference#1631 (Antigravity model cleanup), fix test regression - PR cheaper-inference#1630: Set NPM_CONFIG_LEGACY_PEER_DEPS=true in Dockerfile, remove duplicate COPY - PR cheaper-inference#1631: Hide deprecated gemini-claude-* models from catalogs, redirect to Claude 4.6 - Fix provider-models-route test to match renamed model display name - Update CHANGELOG.md with both PR entries
…ence#1631) fix(antigravity): hide deprecated Gemini-Claude models, redirect legacy aliases to Claude 4.6 — integrated into release/v3.7.1
…inference#1631 (Antigravity model cleanup), fix test regression - PR cheaper-inference#1630: Set NPM_CONFIG_LEGACY_PEER_DEPS=true in Dockerfile, remove duplicate COPY - PR cheaper-inference#1631: Hide deprecated gemini-claude-* models from catalogs, redirect to Claude 4.6 - Fix provider-models-route test to match renamed model display name - Update CHANGELOG.md with both PR entries

Summary
Validation
npm run lintnpm run test:unitnpm run test:coverage>= 60%for statements, lines, functions, and branchesTargeted validation run:
node --import tsx/esm --test tests/unit/antigravity-model-aliases.test.ts tests/unit/models-catalog-route.test.ts tests/unit/t28-model-catalog-updates.test.ts tests/unit/t31-t33-t34-t38-model-specs.test.tsTests Added Or Updated
tests/unit/antigravity-model-aliases.test.tstests/unit/models-catalog-route.test.tstests/unit/t28-model-catalog-updates.test.tstests/unit/t31-t33-t34-t38-model-specs.test.tsCoverage Notes
open-sse/config/antigravityModelAliases.tsis covered by updated alias resolution tests and catalog visibility tests.Reviewer Notes
ANTIGRAVITY_PUBLIC_MODELSonly, so they no longer appear in UI-facing catalogs.