-
-
Notifications
You must be signed in to change notification settings - Fork 208
fix: remove api:antigravity field causing auth issues #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove api:antigravity field causing auth issues #209
Conversation
Move user reviews to top of documents and clean up citation formatting with dash separators across all localized README files (EN, JA, KO, ZH-CN). 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
Create directory-specific knowledge bases for high-complexity directories: - src/hooks/AGENTS.md: Documents 21 hooks across 86 files - src/tools/AGENTS.md: Documents 11 LSP tools, AST-Grep, MCP, background tasks (50 files) - src/features/AGENTS.md: Documents 6 Claude Code compatibility features (24 files) Root AGENTS.md updated to reference these specialized guides while maintaining project overview. Enables better navigation and reduces cognitive load for developers working in specific areas. 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
🤖 Generated with assistance of OhMyOpenCode
…gyu#189) * fix: Notification hook works weirdly for subagent sessions - Added mainSessionID check to prevent notifications in subagent sessions - Only trigger notifications for main session when waiting for user input - Added comprehensive tests to validate the fix Issue: code-yeongyu#92 * chore: changes by sisyphus-dev-ai --------- Co-authored-by: codingsh <[email protected]> Co-authored-by: sisyphus-dev-ai <[email protected]>
The api: "antigravity" field being added to opencode.json causes authentication failures with the antigravity plugin. Fixes: NoeFabris/opencode-antigravity-auth#49
|
Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement (CLA). To sign the CLA, please comment on this PR with: This is a one-time requirement. Once signed, all your future contributions will be automatically accepted. I have read the CLA Document and I hereby sign the CLA 0 out of 3 committers have signed the CLA. |
|
Closing in favor of a new PR properly branched from master per CONTRIBUTING.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes an authentication issue by removing the api: "antigravity" field from the Google provider configuration. Multiple users reported that manually removing this field resolves authentication failures with the opencode-antigravity-auth plugin.
Key Changes:
- Removed the
api: "antigravity"field from ANTIGRAVITY_PROVIDER_CONFIG
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| google: { | ||
| name: "Google", |
Copilot
AI
Dec 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CODEX_PROVIDER_CONFIG still includes api: "codex" on line 408, which creates an inconsistency in the provider configuration structure. If the api field is being removed from ANTIGRAVITY_PROVIDER_CONFIG because it causes authentication issues with the opencode-antigravity-auth plugin, the same field in CODEX_PROVIDER_CONFIG should be evaluated for consistency. Either both configurations should have the api field, or neither should, depending on whether the opencode-openai-codex-auth plugin expects this field or not.
Summary
api: "antigravity"field fromANTIGRAVITY_PROVIDER_CONFIGthat was being written to~/.config/opencode/opencode.jsonRelated Issue
Fixes: NoeFabris/opencode-antigravity-auth#49
Multiple users confirmed that removing this field manually resolves the authentication issue.