You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. In the Google Cloud Console, navigate to **APIs & Services > OAuth consent screen** and configure the OAuth client (Set User Type to External).
152
-
2. Download the credentials JSON format and save it as `/.files/OAuth.json` in the project root.
153
-
3. Leave the API Key field blank and press Enter in the `/login` configuration interface; the CLI will automatically open your browser for Google OAuth 2.0 authorization and fetch available models.
152
+
2. Download the credentials JSON format and save it as `.files/OAuth.json` in the project root. 3. Leave the API Key field blank and press Enter in the `/login` configuration interface; the CLI will automatically open your browser for Google OAuth 2.0 authorization and fetch available models.
154
153
3.**Local LLM**: **(Recommended)** Use models running locally.
-**Ollama Deep Integration**: View installed models directly in the CLI, or enter a model name (e.g., `llama3.1`) to pull it instantly. Supports interactive model selection navigation and hardware status auto-detection.
157
156
- Automatically detects local runner status and default ports.
158
157
159
158
> ℹ️ Supports all Anthropic API compatible services (e.g., OpenRouter, AWS Bedrock proxies, etc.), as long as the interface is compatible with the Messages API.
160
159
160
+
## Environment Variables
161
+
162
+
In addition to interactive `/login` configuration, you can also configure the CLI via environment variables:
163
+
164
+
-`LOCAL_BASE_URL`: The base URL for the local LLM runner (e.g., `http://localhost:11434`).
165
+
-`LOCAL_MODEL`: The model name for the local LLM (e.g., `llama3.1`). Overrides the default model when using the `local` provider.
166
+
-`GEMINI_BASE_URL`: Custom base URL for the Gemini API.
167
+
161
168
## Feature Flags
162
169
163
170
All feature toggles are enabled via `FEATURE_<FLAG_NAME>=1` environment variables, for example:
0 commit comments