alekn commited on
Commit
694192c
·
verified ·
1 Parent(s): 12a6f44

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -1,4 +1,4 @@
1
- from tools import my_tools
2
  from dotenv import load_dotenv
3
  from smolagents import FinalAnswerTool, InferenceClientModel
4
  load_dotenv()
@@ -16,7 +16,7 @@ with open("system_prompt.txt", "r", encoding="utf-8") as f:
16
 
17
  agent = CodeAgent(
18
  model=model,
19
- tools=my_tools,
20
  prompt_templates=system_prompt,
21
  add_base_tools=True
22
  )
 
1
+ from tools import all_tools
2
  from dotenv import load_dotenv
3
  from smolagents import FinalAnswerTool, InferenceClientModel
4
  load_dotenv()
 
16
 
17
  agent = CodeAgent(
18
  model=model,
19
+ tools=all_tools,
20
  prompt_templates=system_prompt,
21
  add_base_tools=True
22
  )