Skip to content

[Feature]:Replace deprecated google-gemini-cli provider with antigravity-oauth (Cloud Code Assist 404) #49099

Description

@Primuez

Problem or Use Case

Google officially sunset the Gemini CLI and replaced it entirely with Antigravity 2.0 and the agy CLI. As a result, the backend endpoint (cloudcode-pa.googleapis.com) that Hermes relies on for the google-gemini-cli provider is returning a hard HTTP 404: Requested entity was not found.

This completely breaks the ability to use a Google AI Pro subscription for agent model routing via OAuth.

Steps to Reproduce:

Authenticate using hermes auth add google-gemini-cli --type oauth (or inject a valid refresh token).

Run any prompt via the CLI: hermes -m google-gemini-cli:gemini-3.5-flash -z "Test"

Check logs. Hermes swallows the zero-shot output, but debug logs reveal the endpoint is dead: API call failed: HTTP 404: Code Assist 404... is not available at cloudcode-pa.googleapis.com

Why this is critical:
For users building multi-agent orchestration systems on weak VPS instances—specifically relying on Hermes to manage standard webhook tools for SaaS backends like Primuez Policy Decoder—the Pro subscription OAuth route is the only way to avoid massive API costs while maintaining high token limits. Using provider: auto or fallback API chains isn't a sustainable replacement for the native Pro quota.

Proposed Solution

Requested Solution:

Deprecate the google-gemini-cli provider string.

Introduce a new antigravity-oauth provider.

Update the internal Google Code Assist adapter to route through the new Antigravity endpoints rather than the retired cloudcode-pa URLs.

Alternatives Considered

No response

Feature Type

Configuration option

Scope

None

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to haveprovider/geminiGoogle Gemini (AI Studio, Cloud Code)type/featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions