Spaces:
Paused
Paused
Mirrowel
commited on
Commit
Β·
a68d8d0
1
Parent(s):
c4e297f
fix(antigravity): π add platform/architecture to User-Agent header
Browse filesThe 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.
src/rotator_library/providers/antigravity_provider.py
CHANGED
|
@@ -3225,7 +3225,7 @@ class AntigravityProvider(AntigravityAuthBase, ProviderInterface):
|
|
| 3225 |
"Authorization": f"Bearer {token}",
|
| 3226 |
"Content-Type": "application/json",
|
| 3227 |
"Host": host,
|
| 3228 |
-
"User-Agent": "antigravity/1.11.9",
|
| 3229 |
"Accept": "text/event-stream" if stream else "application/json",
|
| 3230 |
}
|
| 3231 |
|
|
|
|
| 3225 |
"Authorization": f"Bearer {token}",
|
| 3226 |
"Content-Type": "application/json",
|
| 3227 |
"Host": host,
|
| 3228 |
+
"User-Agent": "antigravity/1.11.9 windows/amd64",
|
| 3229 |
"Accept": "text/event-stream" if stream else "application/json",
|
| 3230 |
}
|
| 3231 |
|