Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,13 @@ If you are asked for a string, don't use articles, neither abbreviations (e.g. f
|
|
| 15 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 16 |
IMPORTANT: When calling final_answer(), ALWAYS pass your answer as a string, even for numbers. Example: final_answer("4") NOT final_answer(4)."""
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
# --- Basic Agent Definition ---
|
| 19 |
import time
|
| 20 |
|
|
|
|
| 15 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 16 |
IMPORTANT: When calling final_answer(), ALWAYS pass your answer as a string, even for numbers. Example: final_answer("4") NOT final_answer(4)."""
|
| 17 |
|
| 18 |
+
|
| 19 |
+
SYSTEM_PROMPT += """
|
| 20 |
+
CRITICAL: Every response MUST wrap Python code in <code>\ncode here\n</code> tags. Never write "FINAL ANSWER:" as plain text - always call final_answer("...") inside <code></code> tags."""
|
| 21 |
+
|
| 22 |
+
SYSTEM_PROMPT += """
|
| 23 |
+
If visit_webpage fails on wikipedia.org with a 403 error, immediately retry using https://r.jina.ai/http://[original-url] instead of retrying the same URL."""
|
| 24 |
+
|
| 25 |
# --- Basic Agent Definition ---
|
| 26 |
import time
|
| 27 |
|