Spaces:
Sleeping
Sleeping
docstring error
Browse files
app.py
CHANGED
|
@@ -43,11 +43,9 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 43 |
|
| 44 |
@tool
|
| 45 |
def get_current_weather_on_location(location: str) -> str:
|
| 46 |
-
"""A function that
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
Args:
|
| 50 |
-
location: a string that representing the location that the user want to know the weather
|
| 51 |
"""
|
| 52 |
base_url = "https://api.open-meteo.com/v1/forecast"
|
| 53 |
|
|
|
|
| 43 |
|
| 44 |
@tool
|
| 45 |
def get_current_weather_on_location(location: str) -> str:
|
| 46 |
+
"""A function that fetches the current weather for a given location.
|
| 47 |
+
Args:
|
| 48 |
+
location: The name of the location (e.g., 'Rome, Italy') for which to fetch the weather.
|
|
|
|
|
|
|
| 49 |
"""
|
| 50 |
base_url = "https://api.open-meteo.com/v1/forecast"
|
| 51 |
|