subham73 commited on
Commit
cee2ca4
·
verified ·
1 Parent(s): 64ed799

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def current_weather(location: str)-> str:
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
  """A tool that fetches the temperature and climate description of the specified location.
15
  Args:
16
- location : A string representing a valid location
17
  """
18
 
19
  key = "4da8241f3e302b39314e95cf04d4552e"
@@ -60,7 +60,7 @@ with open("prompts.yaml", 'r') as stream:
60
 
61
  agent = CodeAgent(
62
  model=model,
63
- tools=[final_answer, get_current_time_in_timezone], ## add your tools here (don't remove final answer)
64
  max_steps=6,
65
  verbosity_level=1,
66
  grammar=None,
 
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
  """A tool that fetches the temperature and climate description of the specified location.
15
  Args:
16
+ location : A string representing a valid location (e.g., 'New York')
17
  """
18
 
19
  key = "4da8241f3e302b39314e95cf04d4552e"
 
60
 
61
  agent = CodeAgent(
62
  model=model,
63
+ tools=[final_answer, get_current_time_in_timezone, current_weather], ## add your tools here (don't remove final answer)
64
  max_steps=6,
65
  verbosity_level=1,
66
  grammar=None,