borisyich commited on
Commit
3e67fd3
·
verified ·
1 Parent(s): 41c4ad8

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +4 -1
agent.py CHANGED
@@ -4,7 +4,10 @@ from smolagents import (InferenceClientModel, CodeAgent, ToolCallingAgent,
4
  )
5
 
6
  model_id = "Qwen/Qwen2.5-72B-Instruct"
7
- model = InferenceClientModel(model_id)
 
 
 
8
 
9
  web_agent = ToolCallingAgent(
10
  tools=[
 
4
  )
5
 
6
  model_id = "Qwen/Qwen2.5-72B-Instruct"
7
+ model = InferenceClientModel(
8
+ model_id,
9
+ token=os.getenv('HF_TOKEN')
10
+ )
11
 
12
  web_agent = ToolCallingAgent(
13
  tools=[