sytse06 commited on
Commit
60b513b
·
verified ·
1 Parent(s): 194d72a

Update app.py

Browse files

Improved formatting tuple

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
20
  return "What magic will you build ?"
21
 
22
  @tool
23
- def get_temperature(location: str, temp_scale: str = "celsius") -> tuple[float, str]:
24
  """A tool that fetches the current temperature and provides a qualitative description.
25
  Args:
26
  location: The name of the city/location
 
20
  return "What magic will you build ?"
21
 
22
  @tool
23
+ def get_temperature(location: str, temp_scale: str = "celsius") -> tuple[float, str, str]:
24
  """A tool that fetches the current temperature and provides a qualitative description.
25
  Args:
26
  location: The name of the city/location