ABVM commited on
Commit
752c309
·
verified ·
1 Parent(s): c551026

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +3 -3
agent.py CHANGED
@@ -13,9 +13,9 @@ from vision_tool import image_reasoning_tool
13
 
14
  #token=os.getenv("HF_API_TOKEN")
15
 
16
- #OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY")
17
- #if not OPENROUTER_API_KEY:
18
- #raise EnvironmentError("OPENROUTER_API_KEY environment variable not set")
19
 
20
  common = dict(
21
  api_base="https://openrouter.ai/api/v1",
 
13
 
14
  #token=os.getenv("HF_API_TOKEN")
15
 
16
+ OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY")
17
+ if not OPENROUTER_API_KEY:
18
+ raise EnvironmentError("OPENROUTER_API_KEY environment variable not set")
19
 
20
  common = dict(
21
  api_base="https://openrouter.ai/api/v1",