Schmitz005 commited on
Commit
1951ac3
Β·
verified Β·
1 Parent(s): 75e9c77

Update whale_core/agents.py

Browse files
Files changed (1) hide show
  1. whale_core/agents.py +1 -1
whale_core/agents.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  # βœ… Set your OpenAI API key β€” use one of the two options below:
6
 
7
  # πŸ”’ Option 1: Load from environment variable (recommended)
8
- openai.api_key = os.getenv("OPENAI_API_KEY")
9
 
10
  # πŸ§ͺ Optional: fail early if key not set
11
  if not openai.api_key:
 
5
  # βœ… Set your OpenAI API key β€” use one of the two options below:
6
 
7
  # πŸ”’ Option 1: Load from environment variable (recommended)
8
+ openai.api_key = os.environ["OPENAI_API_KEY"]
9
 
10
  # πŸ§ͺ Optional: fail early if key not set
11
  if not openai.api_key: