Skip to main content

Module gemini_web

Module gemini_web 

Source
Expand description

Gemini Web provider drives the Gemini chat UI’s undocumented BardChatUi endpoint using browser cookies stored in HashiCorp Vault.

This provider reverse-engineers the same HTTP request the Gemini web app sends so no official API key is required. Authentication is entirely cookie-based (Netscape cookies.txt from Cookie-Editor stored in Vault under secret/codetether/providers/gemini-web as the cookies key).

Supported models (Gemini 3 / 3.1 family):

  • gemini-web-fast Gemini 3 Fast (mode_id fbb127bbb056c959)
  • gemini-web-thinking Gemini 3 Thinking (mode_id 5bf011840784117a)
  • gemini-web-pro Gemini 3.1 Pro (mode_id 9d8ca3786ebdfbea)
  • gemini-web-deep-think Gemini 3 Deep Think (mode_id e6fa609c3fa255c0)

The model is selected via the x-goog-ext-525001261-jspb request header.

Structs§

GeminiWebProvider