Repository navigation
Commit 8852b4b
fix(antigravity): map model ID 1402 to claude-opus-5-5
Antigravity reports Claude Opus 5.5 as model ID 1402. It was not in
the ID table, so it fell back to `model_placeholder_m402`, which has no
pricing entry and was reported at $0 with a missing-pricing warning.
Map both the numeric ID and the placeholder to `claude-opus-5-5`,
which the embedded pricing catalog already prices, and cover the
mapping plus a non-zero calculated cost in a parser test.
Fixes #1947
Co-authored-by: viniciusdsandrade <[email protected]>1 parent 06a3343 commit 8852b4b
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
| 870 | + | |
870 | 871 | | |
871 | 872 | | |
872 | 873 | | |
| |||
922 | 923 | | |
923 | 924 | | |
924 | 925 | | |
| 926 | + | |
925 | 927 | | |
926 | 928 | | |
927 | 929 | | |
| |||
1593 | 1595 | | |
1594 | 1596 | | |
1595 | 1597 | | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
1596 | 1633 | | |
1597 | 1634 | | |
1598 | 1635 | | |
| |||
0 commit comments