Fix 'AI: Out of credits' in Antigravity CLI footer
If you use the Antigravity CLI via agy, you might notice an "AI: Out of credits" warning in the status bar footer.
Toggling "Use AI Credits" off via /config inside the CLI fixes it temporarily, but every time you exit and reopen agy, it automatically turns back on and the error message shows up again.
This happens because changing the setting in the CLI UI only updates the active session, while the persistent global config file keeps "useAiCredits": true.
To turn it off permanently:
- Open
~/.gemini/config/config.jsonin your text editor. - Locate
"useAiCredits"underuserSettingsand change it tofalse, something like this:
{
"userSettings": {
"useAiCredits": false
}
}
- (Optional) You can also open
~/.gemini/antigravity-cli/settings.jsonand add"useAiCredits": falsethere.
Save the file and restart agy and the warning won't appear in the footer anymore.
Webmentions