Schmitz005 commited on
Commit
75e9c77
Β·
verified Β·
1 Parent(s): 8152fc4

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 = "sk-z4C5B-O9hxSANw9drYaooVsp7SdXPw4Z29LUGkJEQhT3BlbkFJ0o-Gh0ALs1R5Zhiuchz-tn3bB_HizEuCx7s2xO_acA"
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.getenv("OPENAI_API_KEY")
9
 
10
  # πŸ§ͺ Optional: fail early if key not set
11
  if not openai.api_key: