ok arg used in def needs to be described in description Args
Browse files
app.py
CHANGED
@@ -32,8 +32,7 @@ load_dotenv()
|
|
32 |
def my_custom_get_weather_info(city: str) -> str:
|
33 |
"""A tool that fetches current weather information for a specified city.
|
34 |
Args:
|
35 |
-
|
36 |
-
units: Temperature unit system - 'metric' (Celsius) and 'imperial' (Fahrenheit)
|
37 |
"""
|
38 |
try:
|
39 |
# Get API key from environment variables
|
|
|
32 |
def my_custom_get_weather_info(city: str) -> str:
|
33 |
"""A tool that fetches current weather information for a specified city.
|
34 |
Args:
|
35 |
+
city: City name or location (e.g., 'New York', 'Buffalo,NY', 'London,UK', 'London,ON', 'London,Canada')
|
|
|
36 |
"""
|
37 |
try:
|
38 |
# Get API key from environment variables
|