Repository navigation
Commit ce439e5
fix(antigravity): map model ID 1050 to gemini-3.1-flash-lite (ccusage#1902)
* fix(antigravity): map model ID 1050 to gemini-3.1-flash-lite
Antigravity's internal sub-agent model MODEL_PLACEHOLDER_M50 (enum 1050)
is labeled Gemini 3.1 Flash Lite by the platform. Map the numeric ID and
the placeholder name so those steps are priced instead of reported as
model_placeholder_m50. ID 1277 stays unmapped because its model is not
publicly identifiable.
Co-authored-by: Shobitm <[email protected]>
* test(antigravity): cover sub-agent step model IDs through the loader
Co-authored-by: Shobitm <[email protected]>
* test(antigravity): drop redundant sub-agent model ID tests
The table-driven placeholder test already covers ID 1050, and ID 1277
falls through the generic placeholder arm that existing tests cover.
* fix(antigravity): drop redundant parser test and satisfy clippy range lint
Use 1417..=1419 for the Gemini 4 Argon IDs to satisfy
clippy::manual_range_patterns, and remove the 1050/1277 parser test that
duplicates the table-driven placeholder coverage.
---------
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Shobitm <[email protected]>1 parent f6d28c5 commit ce439e5
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
869 | | - | |
| 869 | + | |
| 870 | + | |
870 | 871 | | |
871 | 872 | | |
872 | 873 | | |
| |||
921 | 922 | | |
922 | 923 | | |
923 | 924 | | |
| 925 | + | |
924 | 926 | | |
925 | 927 | | |
926 | 928 | | |
| |||
1566 | 1568 | | |
1567 | 1569 | | |
1568 | 1570 | | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
1569 | 1577 | | |
1570 | 1578 | | |
1571 | 1579 | | |
| |||
0 commit comments