feat(antigravity): add AI credits quota fallback

This commit is contained in:
xixiwenxuanhe
2026-03-30 23:58:12 +08:00
parent 6570692291
commit 88dd9c715d
6 changed files with 670 additions and 51 deletions

View File

@@ -91,6 +91,7 @@ max-retry-interval: 30
quota-exceeded:
switch-project: true # Whether to automatically switch to another project when a quota is exceeded
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
antigravity-credits: true # Whether to retry Antigravity quota_exhausted 429s once with enabledCreditTypes=["GOOGLE_ONE_AI"]
# Routing strategy for selecting credentials when multiple match.
routing: