Skip to content

Commit a68d8d0

Browse files
committed
fix(antigravity): 🐛 add platform/architecture to User-Agent header
The User-Agent header was previously only including the antigravity version number. This update appends platform and architecture information (windows/amd64) to improve server-side request tracking and debugging capabilities.
1 parent c4e297f commit a68d8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rotator_library/providers/antigravity_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3225,7 +3225,7 @@ async def acompletion(
32253225
"Authorization": f"Bearer {token}",
32263226
"Content-Type": "application/json",
32273227
"Host": host,
3228-
"User-Agent": "antigravity/1.11.9",
3228+
"User-Agent": "antigravity/1.11.9 windows/amd64",
32293229
"Accept": "text/event-stream" if stream else "application/json",
32303230
}
32313231

0 commit comments

Comments
 (0)