@Airan_FS on X (11-17): an Antigravity account served through agy-cli
answered "⚠ Individual quota reached. Please upgrade your subscription to
increase your limits. Resets in …" as the model's reply, and routing never
asked the next account.
The agy-cli plugin 0.1.87 (magpie-community/plugins afe4c086, on the dist
branch) now ends such a turn with a rate_limit_error in agy's words, before
or after reply text, so the gateway fails over and rests the account as for
any plugin quota error. Here, quotaResetAfter also reads the notice's
"Resets in 1h18m40s" (Go's duration form, which resetsInWords can't read
since no word ends after its "h"), scoped to the "individual quota reached"
line, so the account rests until Google's reset instead of quotaRest's 15
minutes and isn't asked again every quarter hour. gateway-routing.md says so.
Tests from the literal notice (discuss.ai.google.dev report, the tweet):
TestAgyCLIQuotaNoticeRestsUntilItsResetAndFallsOver (group falls over to
the next member, rest "resets" ~1h18m40s, next turn skips it),
TestAgyCLIQuotaNoticeMidReplyStillRests (partial text kept, still rests),
TestAgyQuotaNoticeResetIsRead.
Run (mica, at f33278541 = this change less the doc line): go test ./...
-timeout 45m: 102 ok, no FAIL. mote: GOOS=windows go vet ./... ok,
GOOS=linux go vet -tags nogui ./... ok; gofmt -l clean.
Broken by hand: the old quotaResetAfter with these tests: the account
rests 14m59s by "quota" and resetsAfter reads 0, so all three fail.
Not tried: a real agy account with its quota used up.