mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
Gemini CLI loads ~/.gemini/.env only at startup (and when validating the auth method), and never overwrites a variable already in its environment, so a running session keeps the old key, endpoint and model after a switch. The switch toast now asks for a restart, as it already does for Codex and Grok Build. The user manual said the opposite in three places (the quick start table, the switch page and the FAQ), claiming Gemini CLI re-reads .env on every request; all three languages now say a restart is needed. The README and the routing page now list Gemini CLI among the apps that show a restart notice.