summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cli/configuration.md6
-rw-r--r--docs/server/configuration.md8
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md
index b887ebf7..28757e74 100644
--- a/docs/cli/configuration.md
+++ b/docs/cli/configuration.md
@@ -96,11 +96,11 @@ The CLI automatically loads environment variables from an `.env` file. The loadi
- Your API key for the Gemini API.
- **Crucial for operation.** The CLI will not function without it.
- Set this in your shell profile (e.g., `~/.bashrc`, `~/.zshrc`) or an `.env` file.
-- **`GEMINI_CODE_MODEL`**:
+- **`GEMINI_MODEL`**:
- Specifies the default Gemini model to use.
- Overrides the hardcoded default, which is currently `gemini-2.5-pro-preview-05-06`.
- - Example: `export GEMINI_CODE_MODEL="gemini-1.5-flash-latest"`
-- **`GEMINI_CODE_SANDBOX`**:
+ - Example: `export GEMINI_MODEL="gemini-1.5-flash-latest"`
+- **`GEMINI_SANDBOX`**:
- Alternative to the `sandbox` setting in `settings.json`.
- Accepts `true`, `false`, `docker`, `podman`, or a custom command string.
- **`SEATBELT_PROFILE`** (macOS specific):
diff --git a/docs/server/configuration.md b/docs/server/configuration.md
index fc6d33b1..adc03583 100644
--- a/docs/server/configuration.md
+++ b/docs/server/configuration.md
@@ -22,12 +22,12 @@ These are the main pieces of information the server `Config` object holds and us
- **`model` (string):**
- - **Source:** Command-line argument (`--model`), environment variable (`GEMINI_CODE_MODEL`), or the default value `gemini-2.5-pro-preview-05-06`.
+ - **Source:** Command-line argument (`--model`), environment variable (`GEMINI_MODEL`), or the default value `gemini-2.5-pro-preview-05-06`.
- **Purpose:** Specifies which Gemini model the server should use for generating responses.
- **`sandbox` (boolean | string):**
- - **Source:** Command-line argument (`--sandbox`), environment variable (`GEMINI_CODE_SANDBOX`), or `settings.json` (`sandbox` key).
+ - **Source:** Command-line argument (`--sandbox`), environment variable (`GEMINI_SANDBOX`), or `settings.json` (`sandbox` key).
- **Purpose:** Determines if and how tools (especially `execute_bash_command`) are sandboxed. This is crucial for security.
- `true`: Use a default sandboxing method.
- `false`: No sandboxing (less secure).
@@ -92,12 +92,12 @@ The CLI configuration logic, which precedes server initialization, includes load
2. `.env` in parent directories, up to the project root (containing `.git`) or home directory.
3. `~/.env` (in the user's home directory).
-This file is a common place to store the `GEMINI_API_KEY` and other environment-specific settings like `GEMINI_CODE_MODEL` or `DEBUG` flags.
+This file is a common place to store the `GEMINI_API_KEY` and other environment-specific settings like `GEMINI_MODEL` or `DEBUG` flags.
```
# Example .env file
GEMINI_API_KEY="YOUR_ACTUAL_API_KEY_HERE"
-GEMINI_CODE_MODEL="gemini-1.5-flash-latest"
+GEMINI_MODEL="gemini-1.5-flash-latest"
# DEBUG=true
```