Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

the plugin not working on opencode desktop#566

Description

@kakashi963

Pre-submission checklist

Model used

antigravity-gemini-3-flash

Exact error message

Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API.

Bug description

the plugin was working fine on opencode desktop , but after an update it stoped working , it is still working in cli no problem , but it is not working on desktop version of opencode

Image

Steps to reproduce

Image

Did this ever work?

Worked before, now broken (regression)

Number of Google accounts configured

2-3

Reproducibility

Always (100%)

Plugin version

1.6.5-beta.0

OpenCode version

1.14.33

Operating System

Windows 11

Node.js version

v24.12.0

Environment type

Standard (native terminal)

MCP servers installed

MCP servers installed:

  • kapture (currently disabled)
  • paper (currently disabled)

Debug logs (REQUIRED)

API key not valid. Please pass a valid API key.
Requested Model: gemini-3-flash-preview
Effective Model: gemini-3-flash
Project: rising-fact-p41fc
Endpoint: https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:streamGenerateContent?alt=sse
Status: 400
Reproduce the issue
1. Update Opencode Desktop to version 1.14.33.
2. Install opencode-antigravity-auth@beta.
3. Configure google provider with standard model definitions.
4. Try to send a prompt using an Antigravity model.
5. Result: "API key not valid" error persists even with placeholder keys and environment variables set.

Configuration (optional)

{
  "$schema": "https://raw.githubusercontent.com/NoeFabris/opencode-antigravity-auth/main/assets/antigravity.schema.json",
  "debug": true
}

Compliance

  • I'm using this plugin for personal development only
  • This issue is not related to commercial use or TOS violations

Additional context

The plugin works perfectly fine in the CLI, but fails in the Desktop version after the latest app update. Adding the npm: "@ai-sdk/google" override and a placeholder apiKey in options changed the error from "API key missing" to "API key not valid," but the plugin still fails to intercept and inject the OAuth token in the Desktop environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageRequires maintainer review

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions