Update tools/FinalAnswerTool.py
Browse files- tools/FinalAnswerTool.py +8 -1
tools/FinalAnswerTool.py
CHANGED
|
@@ -19,9 +19,16 @@ class FinalAnswerTool(Tool):
|
|
| 19 |
1. First compute total time in hours.
|
| 20 |
2. THEN divide by FINAL ANSWER BY 1000 to convert to 'thousands of hours'.
|
| 21 |
3. Round that result to the nearest integer.
|
| 22 |
-
4. Output ONLY that integer (e.g., 17),
|
| 23 |
|
| 24 |
Always output a clean string with ONLY the final answer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
"""
|
| 26 |
inputs = {
|
| 27 |
"answer": {"type": "string", "description": "The final, correctly formatted answer string."}
|
|
|
|
| 19 |
1. First compute total time in hours.
|
| 20 |
2. THEN divide by FINAL ANSWER BY 1000 to convert to 'thousands of hours'.
|
| 21 |
3. Round that result to the nearest integer.
|
| 22 |
+
4. Output ONLY that integer (e.g., 17),
|
| 23 |
|
| 24 |
Always output a clean string with ONLY the final answer.
|
| 25 |
+
STRICT RULES:
|
| 26 |
+
- Do NOT use Markdown formatting.
|
| 27 |
+
- Do NOT use bold formatting.
|
| 28 |
+
- Do NOT surround the answer with **asterisks**.
|
| 29 |
+
- Do NOT add explanations, units, or extra words.
|
| 30 |
+
- If the answer is a number, output ONLY the number (e.g., 17000).
|
| 31 |
+
- Output must be plain ASCII text, no special symbols.
|
| 32 |
"""
|
| 33 |
inputs = {
|
| 34 |
"answer": {"type": "string", "description": "The final, correctly formatted answer string."}
|