mirror of
https://github.com/NikkeTryHard/zerogravity.git
synced 2026-04-25 15:15:59 +03:00
[GH-ISSUE #32] Can't find the token. #28
Labels
No labels
bug
enhancement
enhancement
notice
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zerogravity#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @codelonesomest on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/32
What happened?
There is no "ya29.xxx" related token via the network tab in antigravity editor. (Using docker)
Antigravity Version: 1.18.3
VSCode OSS Version: 1.107.0
Commit: c9b91c281ca4919466bd32a6ea2fcdab11102259
Date: 2026-02-19T02:34:56.403Z
Electron: 39.2.3
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0
Language Server CL: 872125356
How to reproduce
No response
Diagnostic Report
Additional Context
No response
@NikkeTryHard commented on GitHub (Feb 20, 2026):
The README instructions were outdated -- the token is not in an
Authorization: Bearerheader togenerativelanguage.googleapis.com. It's actually in the JSON body of requests to the local Language Server at127.0.0.1.Easiest way to get your token:
127.0.0.1(look forSendUserCascadeMessageorGetCommandModelConfigs)"apiKey":"ya29.xxx..."in the JSON bodyya29.Or just right-click any of those requests → Copy as cURL, paste it into any LLM, and ask it to extract the token.
The README has been updated in v1.1.9 to clarify this. If you're running Docker on a Mac where Antigravity is also installed, the easiest approach is to mount the config dir for automatic token refresh -- no manual token needed:
This gives the proxy access to
state.vscdbwhich contains a long-lived refresh token -- auto-refresh works indefinitely.