Skip to content

Commit f257016

Browse files
committed
doc: from_env in default_config.yaml
1 parent 70357a4 commit f257016

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configs/default_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ llm:
3939
# API configuration
4040
api_base: "https://generativelanguage.googleapis.com/v1beta/openai/" # Base URL for API (change for non-OpenAI models)
4141
api_key: null # API key (defaults to OPENAI_API_KEY env variable)
42+
# Or use from_env to specify which environment variable to read from:
43+
# api_key:
44+
# from_env: GEMINI_API_KEY # Reads API key from $GEMINI_API_KEY
4245

4346
# Generation parameters
4447
temperature: 0.7 # Temperature for generation (higher = more creative)

0 commit comments

Comments
 (0)