Skip to content

fix(antigravity): map model ID 1417 to gemini-4-argon - #1894

Merged
ryoppippi merged 1 commit into
mainfrom
pullfrog/issue-1893-run-38720849435-attempt-1
Oct 15, 2026
Merged

ryoppippi merged 1 commit into
mainfrom
pullfrog/issue-1893-run-38720849435-attempt-1

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Maps Antigravity numeric model ID 1417 to gemini-4-argon in model_name_from_id (rust/adapters/antigravity/src/parser.rs), which already exists in models-dev-pricing.json, so the ~4.6M previously unpriced tokens now resolve to priced usage instead of model_placeholder_m417 with a missing-pricing warning. Also adds the model_placeholder_m417 -> gemini-4-argon entry in normalize_antigravity_model so rows recorded with the placeholder name are priced too, matching the established numeric-arm-plus-placeholder pattern. Extends the existing normalizes_newer_gemini_model_placeholders_and_ids regression test with the 1417 / placeholder / display-name case.

Tests: cargo test -p ccusage-adapter-antigravity passes (33 passed, 0 failed, including the extended placeholder test); cargo clippy -p ccusage-adapter-antigravity --all-targets is 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_m417 name to gemini-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.

View guided diff Turn on auto-fix

@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b9f5c6b6-df9a-4f50-9f44-0c19ed439f11

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

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

@ryoppippi
ryoppippi merged commit fe76165 into main Oct 15, 2026
14 checks passed
@ryoppippi
ryoppippi deleted the pullfrog/issue-1893-run-38720849435-attempt-1 branch October 15, 2026 11:13
@github-actions

Copy link
Copy Markdown
Contributor Author

ccusage performance comparison

PR SHA: a628ec6fe49e
Base SHA: 70ac50b06e7b

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: 70ac50b06e7b

@github-actions

Copy link
Copy Markdown
Contributor Author

ccusage performance comparison

PR SHA: a628ec6fe49e
Base SHA: 70ac50b06e7b

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: 70ac50b06e7b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

antigravity: model ID 1417 (Gemini 4 Argon) reported as model_placeholder_m417 with no pricing

1 participant