Repository navigation
fix(antigravity): map model ID 1417 to gemini-4-argon - #1894
Conversation
Co-authored-by: Shobitm <[email protected]>
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ccusage-guide | a628ec6 | Commit Preview URL Branch Preview URL |
Oct 15 2026, 10:41 AM |
ccusage performance comparisonPR SHA: Performance comparison skipped. Base package URL was not ready before 300.000s. Fixture performance comparison requires a base package when --base-dir is not provided. Base package: |
ccusage performance comparisonPR SHA: Performance comparison skipped. Base package URL was not ready before 300.000s. Fixture performance comparison requires a base package when --base-dir is not provided. Base package: |
Maps Antigravity numeric model ID 1417 to
gemini-4-argoninmodel_name_from_id(rust/adapters/antigravity/src/parser.rs), which already exists inmodels-dev-pricing.json, so the ~4.6M previously unpriced tokens now resolve to priced usage instead ofmodel_placeholder_m417with a missing-pricing warning. Also adds themodel_placeholder_m417->gemini-4-argonentry innormalize_antigravity_modelso rows recorded with the placeholder name are priced too, matching the established numeric-arm-plus-placeholder pattern. Extends the existingnormalizes_newer_gemini_model_placeholders_and_idsregression test with the 1417 / placeholder / display-name case.Tests:
cargo test -p ccusage-adapter-antigravitypasses (33 passed, 0 failed, including the extended placeholder test);cargo clippy -p ccusage-adapter-antigravity --all-targetsis clean. IDs 1277 and 1050 from the report were left untouched since their model identities are unknown.Changes left uncommitted in the working tree as instructed.
Closes #1893
Summary by cubic
Resolves Antigravity model ID 1417 and the related
model_placeholder_m417name togemini-4-argon, pricing the ~4.6M tokens that previously fell through to a placeholder with a missing-pricing warning. Extends the existing regression test to cover the new mapping.Written for commit a628ec6. Summary will update on new commits.