p3pp01 commited on
Commit
f102f38
·
1 Parent(s): f4eb948

docstring error

Browse files
Files changed (1) hide show
  1. app.py +3 -5
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 from a location fetches the current weather on a location. This tool use the function to fetch
47
- from a location the latitude and the longitude via Geocoding called get_latitude_longitude_by_location. After fetched the
48
- latitude and the longitude, call via API the open-meteo API for getting the weather.
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