#7757·sub2api

Sticky session binding missing for /v1/responses endpoint with Antigravity accounts

Author: jerryscript1401Created Sep 30, 2026Updated Sep 30, 2026

The /v1/responses endpoint fails to bind sticky sessions for Antigravity accounts, even though the session hash is correctly generated. This causes each request to be routed to different accounts instead of maintaining session affinity across multiple requests.

Other account types (Anthropic, OpenAI, Gemini) with the same sticky session configuration work correctly. Only Antigravity accounts are affected.

Problem

Sticky sessions do not work for Antigravity accounts even when providing session_id

I'm using OpenWebui now. I add a header to the connection: session_id: openwebui-<CHAT_ID>

The CHAT_ID is correctly replaced, and the same configuration works with other account types. This issue is not related to Nginx or upstream rate limiting.

Multiple requests from the same chat can still be routed to different Antigravity accounts.

I will submit a PR with a proposed fix.