DTStudios commited on
Commit
fc4fa81
·
verified ·
1 Parent(s): 001c102

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -52,14 +52,14 @@ with open("prompts.yaml", 'r') as stream:
52
  prompt_templates = yaml.safe_load(stream)
53
 
54
  tool=[
55
- add_numbers,
56
- get_current_time_in_timezone,
57
  ]
58
 
59
  agent = CodeAgent(
60
  tools=[add_numbers],[get_current_time_in_timezone],[FinalAnswerTool],
61
  model= model,
62
- add_base_tools=True, # still give web_search, visit_webpage, final_answer
63
  name="MyAgent",
64
  description="Practicing agent with simple math and time tools"
65
  )
 
52
  prompt_templates = yaml.safe_load(stream)
53
 
54
  tool=[
55
+ "add_numbers",
56
+ "get_current_time_in_timezone", "FinalAnswerTool"
57
  ]
58
 
59
  agent = CodeAgent(
60
  tools=[add_numbers],[get_current_time_in_timezone],[FinalAnswerTool],
61
  model= model,
62
+ add_base_tools=False,
63
  name="MyAgent",
64
  description="Practicing agent with simple math and time tools"
65
  )