Spaces:
Sleeping
Sleeping
apple muncy
commited on
Commit
·
7284448
1
Parent(s):
06edbb3
more Tool trouble
Browse filesSigned-off-by: apple muncy <[email protected]>
tools.py
CHANGED
@@ -21,7 +21,7 @@ def get_weather_info(location: str) -> str:
|
|
21 |
return f"Weather in {location}: {data['condition']}, {data['temp_c']}°C"
|
22 |
|
23 |
# Initialize the tool
|
24 |
-
weather_info_tool =
|
25 |
name="get_weather_info",
|
26 |
func=get_weather_info,
|
27 |
description="Fetches dummy weather information for a given location."
|
|
|
21 |
return f"Weather in {location}: {data['condition']}, {data['temp_c']}°C"
|
22 |
|
23 |
# Initialize the tool
|
24 |
+
weather_info_tool = tool(
|
25 |
name="get_weather_info",
|
26 |
func=get_weather_info,
|
27 |
description="Fetches dummy weather information for a given location."
|