Update agent.py
Browse files
agent.py
CHANGED
|
@@ -142,14 +142,10 @@ FINAL ANSWER: <answer>
|
|
| 142 |
"""
|
| 143 |
|
| 144 |
ROUTE_PROMPTS = {
|
| 145 |
-
'reverse': BASE_RULES + "
|
| 146 |
-
This is likely a
|
| 147 |
-
'
|
| 148 |
-
This is likely
|
| 149 |
-
'web': BASE_RULES + "
|
| 150 |
-
This is likely a URL, video, or recent-web task. Use web_search or fetch_page sparingly.",
|
| 151 |
-
'wiki': BASE_RULES + "
|
| 152 |
-
This is likely stable factual knowledge. Prefer wiki_search first.",
|
| 153 |
'default': BASE_RULES + "
|
| 154 |
Choose the shortest path to the exact answer.",
|
| 155 |
}
|
|
|
|
| 142 |
"""
|
| 143 |
|
| 144 |
ROUTE_PROMPTS = {
|
| 145 |
+
'reverse': BASE_RULES + "This is likely a reversal or direct text manipulation task. Avoid search.",
|
| 146 |
+
'python': BASE_RULES + "This is likely a structured reasoning task. Prefer run_python for exactness.",
|
| 147 |
+
'web': BASE_RULES + "This is likely a URL, video, or recent-web task. Use web_search or fetch_page sparingly.",
|
| 148 |
+
'wiki': BASE_RULES + "This is likely stable factual knowledge. Prefer wiki_search first.",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
'default': BASE_RULES + "
|
| 150 |
Choose the shortest path to the exact answer.",
|
| 151 |
}
|