mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 16:04:24 +00:00
Antigravity accounts had no manual query button in the usage cell, unlike Claude and OpenAI, and the server ignored force=true for them: getAntigravityUsage always answered from its in-memory cache while fresh. After an upgrade or an upstream reset the cell kept old figures (an account upgraded to Ultra still showed its Claude week at 100%). - getAntigravityUsage takes force; cachedAntigravityUsage skips the cache when forced. singleflight still merges concurrent fetches. - The antigravity cell shows the same 查询/Query button (active, force=true) in every state, including errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>