chezhian commited on
Commit
bb2f929
·
verified ·
1 Parent(s): d3c02bc

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -4,7 +4,7 @@ from smolagents import CodeAgent, DuckDuckGoSearchTool, InferenceClientModel
4
  model = InferenceClientModel(model_id="meta-llama/Llama-2-7b-chat-hf") # Or another model
5
 
6
  # Define custom tools if needed (optional)
7
- from smolagents.tool import tool
8
 
9
  @tool
10
  def add(a: int, b: int) -> int:
 
4
  model = InferenceClientModel(model_id="meta-llama/Llama-2-7b-chat-hf") # Or another model
5
 
6
  # Define custom tools if needed (optional)
7
+ from smolagents import tool
8
 
9
  @tool
10
  def add(a: int, b: int) -> int: