Spaces:
Sleeping
Sleeping
kevindiependaele commited on
Commit ·
0818c89
1
Parent(s): 324e81a
fix output type
Browse files- tools/weather_api.py +1 -1
tools/weather_api.py
CHANGED
|
@@ -7,7 +7,7 @@ class WeatherApiTool(Tool):
|
|
| 7 |
name = "weather_api"
|
| 8 |
description = "Fetches the weather for a given location and date."
|
| 9 |
inputs = {'location': {'type': 'string', 'description': 'The location for which to fetch the weather.'}, 'date': {'type': 'string', 'description': 'The date for which to fetch the weather.'}}
|
| 10 |
-
output_type = "
|
| 11 |
|
| 12 |
def __init__(self, *args, **kwargs):
|
| 13 |
super().__init__(*args, **kwargs)
|
|
|
|
| 7 |
name = "weather_api"
|
| 8 |
description = "Fetches the weather for a given location and date."
|
| 9 |
inputs = {'location': {'type': 'string', 'description': 'The location for which to fetch the weather.'}, 'date': {'type': 'string', 'description': 'The date for which to fetch the weather.'}}
|
| 10 |
+
output_type = "any"
|
| 11 |
|
| 12 |
def __init__(self, *args, **kwargs):
|
| 13 |
super().__init__(*args, **kwargs)
|