Gemini
Use Google’s Gemini models through yottacode’s native adapter.
Configure
In the TUI β add or switch providers without restarting:
/provider # open the picker β Add a profile: kind=gemini, base URL, API key, model
/provider use gemini # switch to a saved profile
/model gemini-2.5-pro # switch model for this sessionFrom the command line β set environment variables:
export YOTTACODE_PROVIDER=gemini
export YOTTACODE_MODEL=gemini-2.5-pro
export YOTTACODE_BASE_URL=https://generativelanguage.googleapis.com
export YOTTACODE_API_KEY=...β¦or pass flags at launch (they override the environment):
yottacode --provider gemini \
--model gemini-2.5-pro \
--base-url https://generativelanguage.googleapis.com \
--api-key ...The native Gemini adapter uses Google’s HTTP API. Gemini is a curated provider: the default-model picker in the first-run wizard and /provider add, the /model picker, and /model list all read yottacode’s embedded Gemini catalog plus the local models.dev snapshot, so newly listed Gemini models can appear before the generated provider catalog is refreshed. Gemini API errors are summarized to the HTTP status, Google status, primary message, and retry hint instead of dumping the full JSON error envelope.
Thinking Gemini models (Gemini 3 era) attach an opaque thoughtSignature to each function call and require it back when the conversation history is replayed; the adapter round-trips it automatically. For history that carries no signature β turns recorded by older yottacode versions, or a session switched to Gemini from another provider mid-conversation β the adapter substitutes Google’s documented bypass token so the session keeps working.