Skip to content

google-gemini-cli OAuth provider not supported in auxiliary resolve_provider_client #48201

Closed as not planned

Description

@reshapeng

Summary

The google-gemini-cli OAuth provider is documented as available for auxiliary tasks (vision, compression, etc.), but the auxiliary client code path rejects it.

Where

agent/auxiliary_client.py lines 4084-4095: OAuth dispatch only handles nous, openai-codex, xai-oauth. google-gemini-cli falls into catch-all with not directly supported, try auto.

Log evidence

WARNING: OAuth provider google-gemini-cli not directly supported, try auto
WARNING: Vision provider google-gemini-cli unavailable, falling back to auto vision backends

Expected

Add google-gemini-cli case in OAuth dispatch, or update docs to note main-model-only.

Environment

  • Hermes 0.16.0, Windows 11
  • Google Gemini OAuth (logged in, confirmed by hermes doctor)

Activity

  1. added
    type/bugSomething isn't working
    comp/agentCore agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint
    provider/geminiGoogle Gemini (AI Studio, Cloud Code)
    area/authAuthentication, OAuth, credential pools
    P2Medium — degraded but workaround exists
    duplicateThis issue or pull request already exists
    on Jun 18, 2026
  2. alt-glitch commented on Jun 18, 2026

    @alt-glitch

    Duplicate of #30720 — same root cause: resolve_provider_client() in agent/auxiliary_client.py only whitelists nous/openai-codex/xai-oauth for OAuth resolution, so google-gemini-cli falls into the catch-all and is silently unusable for auxiliary tasks (vision/compression). #30720 is the canonical open issue tracking this; open PR #29792 wires the missing resolver routing.

  3. teknium1 commented on Jul 14, 2026

    @teknium1
    Collaborator

    Thanks for reporting the auxiliary-resolution gap. This is now obsolete on current main: Hermes no longer supports the google-gemini-cli OAuth inference provider.

    • Automated hermes-sweeper review verified that commit 7130d60861a9243301514bff611a9381830d59d8 removed the provider, its OAuth/Cloud Code modules, and its auxiliary routing because third-party Gemini CLI / Code Assist OAuth use carries Google account-ban risk.
    • Current plugins/model-providers/gemini/__init__.py:52-58 retains the supported gemini provider as the Google AI Studio API-key path.
    • Current docs at website/docs/integrations/providers.md:43 likewise document gemini with GOOGLE_API_KEY / GEMINI_API_KEY, not Gemini CLI OAuth.
    • The linked canonical issue [Bug]: OAuth provider 'google-gemini-cli' silently unusable as fallback chain entry #30720 and PR fix(aux): support google gemini cli oauth routing #29792 describe the now-removed integration; they do not represent a supported current-main path.

    Closing as cannot reproduce against the current supported provider surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/authAuthentication, OAuth, credential poolscomp/agentCore agent runtime: loop, agent_init, prompt builder, context-compression, responses endpointduplicateThis issue or pull request already existsprovider/geminiGoogle Gemini (AI Studio, Cloud Code)sweeper:cannot-reproduceSweeper: could not reproduce on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions