Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -242,7 +242,9 @@ prompt_templates = {
|
|
| 242 |
"If the query contains a city name (e.g., 'Бураево', 'Sydney', 'न्यू यॉर्क') or phrases like 'сколько времени', 'what time', "
|
| 243 |
"or a city in any context (e.g., 'Что там в Бирске?'), return current time, air quality, and weather for that city. "
|
| 244 |
"Use ONLY the provided functions: `get_timezone_by_city`, `get_current_time_in_timezone`, `get_air_quality`, `get_weather`, `final_answer`. "
|
|
|
|
| 245 |
"Do NOT use `detect` or any other functions directly in the code. "
|
|
|
|
| 246 |
"Return ONLY the result via `final_answer()` in a code block:\n"
|
| 247 |
"```py\n"
|
| 248 |
"final_answer('YOUR ANSWER HERE')\n"
|
|
|
|
| 242 |
"If the query contains a city name (e.g., 'Бураево', 'Sydney', 'न्यू यॉर्क') or phrases like 'сколько времени', 'what time', "
|
| 243 |
"or a city in any context (e.g., 'Что там в Бирске?'), return current time, air quality, and weather for that city. "
|
| 244 |
"Use ONLY the provided functions: `get_timezone_by_city`, `get_current_time_in_timezone`, `get_air_quality`, `get_weather`, `final_answer`. "
|
| 245 |
+
"Do NOT parse or modify the output of `get_air_quality` or `get_weather`. "
|
| 246 |
"Do NOT use `detect` or any other functions directly in the code. "
|
| 247 |
+
"Do NOT add extra logic, labels, or emojis beyond what the functions provide. "
|
| 248 |
"Return ONLY the result via `final_answer()` in a code block:\n"
|
| 249 |
"```py\n"
|
| 250 |
"final_answer('YOUR ANSWER HERE')\n"
|