Skip to content

Commit 9080674

Browse files
committed
docs: include the GEMINI_MODEL in the .env.example
1 parent ff3c904 commit 9080674

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
GEMINI_API_KEY=YOUR_GOOGLE_GEMINI_API_KEY
2+
# GEMINI_MODEL=gemini-2.5-pro

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ https://github.com/user-attachments/assets/7e7edb8c-3b97-4933-b2a6-14c48e54c0c7
2626
| ID | Description |
2727
| --- | --- |
2828
| GEMINI_API_KEY | Google Gemini API key |
29+
| GEMINI_MODEL | Gemini model<br><ul><li>`gemini-2.5-pro` (default)</li><li>`gemini-2.5-flash`, `gemini‑1.5‑pro`, etc</li><li><blockquote>**INFO:** Exclude this from the `.env` file if there's no need to change the default model</blockquote></li><ul> |
30+
31+
💡 Other Gemini CLI **environment variables** are available in its [Environment Variables & .env Files](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md#environment-variables--env-files) documentation.
2932

3033
3. (Optional) Put code repositories or directories for Gemini CLI inspection under the `"/projects"` directory.
3134
- See the [projects/README.md](projects/README.md) file for more details on organizing your project repositories.
@@ -78,7 +81,7 @@ https://github.com/user-attachments/assets/7e7edb8c-3b97-4933-b2a6-14c48e54c0c7
7881

7982
_(These steps require a Google account)_
8083

81-
1. Create one from [Google AI Studio](https://aistudio.google.com/app/apikey). This requires a Google account.
84+
1. Create one from [Google AI Studio](https://aistudio.google.com/app/apikey).
8285
2. Follow the prompts for creating an API key.
8386
- Type a project name in which to create the API key.
8487
- > **INFO:** You may also select an existing Google project in which to create the key.

0 commit comments

Comments
 (0)