429 and there was a network issue connecting to the server please try again

Hi team, please fix the 60-second timeout issue during large code generations. When the model writes a long script, it hits a hard 60s cutoff and throws either a fake “network lost” error or an HTTP 429. Having to manually ask the model to output code in tiny chunks is a poor developer experience, especially on a Google platform.

What seems to be happening under the hood: The request hits a hard 60s gateway/load balancer timeout (likely due to response buffering or interrupted SSE streaming). Because the proxy drops the connection without proper CORS headers on the 504 timeout, the frontend catches it as a generic ⁠ERR_NETWORK⁠ / ⁠Failed to fetch⁠ and shows a false “network lost” message. Immediately after, the client silently auto-retries the exact same heavy request, colliding with the TPM (Tokens Per Minute) quota already consumed by the failed first attempt, which triggers the HTTP 429 (Resource Exhausted) error.

Hi @MAKAKA,

Could you please provide the Antigravity platform (IDE, Web, or CLI) and version you are using?

I’m using the latest version of Antigravity. I’ve primarily been using the CLI, but I’ve also tried the Antigravity IDE. I’m experiencing the same errors in both, with little to no difference between them.