Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
# Gemini (pick ONE of the two paths below)
# ----------------------------------------------------------------------

# Path AGemini Developer API key
# Path A: Gemini Developer API key.
# GEMINI_API_KEY=
# GOOGLE_API_KEY=
# (``GOOGLE_API_KEY`` is also accepted as a fallback for
# compatibility with Google's official SDK convention.)

# Path B — Vertex AI project (requires ``gcloud auth
# application-default login`` to have been run)
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ Either set an API key:

| Variable | Required | Purpose |
| --- | --- | --- |
| `GEMINI_API_KEY` or `GOOGLE_API_KEY` | yes (one of the two) | Gemini API key |
| `GEMINI_API_KEY` | yes | Gemini API key |

`GOOGLE_API_KEY` is also accepted as a fallback for compatibility
with Google's official SDK convention.

…or use a Vertex AI project (after running `gcloud auth
application-default login`):
Expand Down
Loading