alekn commited on
Commit
12a6f44
·
verified ·
1 Parent(s): 652101f

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +4 -3
agent.py CHANGED
@@ -1,4 +1,4 @@
1
- from tools import __all__
2
  from dotenv import load_dotenv
3
  from smolagents import FinalAnswerTool, InferenceClientModel
4
  load_dotenv()
@@ -16,8 +16,9 @@ with open("system_prompt.txt", "r", encoding="utf-8") as f:
16
 
17
  agent = CodeAgent(
18
  model=model,
19
- tools=__all__,
20
- prompt_templates=system_prompt
 
21
  )
22
 
23
  # --- Basic Agent Definition ---
 
1
+ from tools import my_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=my_tools,
20
+ prompt_templates=system_prompt,
21
+ add_base_tools=True
22
  )
23
 
24
  # --- Basic Agent Definition ---