Spaces:
Runtime error
Runtime error
venkat-srinivasan-nexusflow
commited on
Commit
β’
18a99a5
1
Parent(s):
35f4ae4
Update tools.py
Browse files
tools.py
CHANGED
@@ -43,6 +43,8 @@ class Tools:
|
|
43 |
def get_current_location(self) -> str:
|
44 |
"""
|
45 |
Returns the current location. ONLY use this if the user has not provided an explicit location in the query.
|
|
|
|
|
46 |
"""
|
47 |
location_data = self._get_current_location_information()
|
48 |
city = location_data["city"]
|
|
|
43 |
def get_current_location(self) -> str:
|
44 |
"""
|
45 |
Returns the current location. ONLY use this if the user has not provided an explicit location in the query.
|
46 |
+
|
47 |
+
Do not use this function is the user has provided a city location, like a city, or a place of interest location, like a stadium or an airport name.
|
48 |
"""
|
49 |
location_data = self._get_current_location_information()
|
50 |
city = location_data["city"]
|