Spaces:
Sleeping
Sleeping
Update tools/FinalAnswerTool.py
Browse files- tools/FinalAnswerTool.py +2 -1
tools/FinalAnswerTool.py
CHANGED
|
@@ -54,7 +54,8 @@ FORMAT CLEANING
|
|
| 54 |
- Remove LaTeX ($, \, { }).
|
| 55 |
- If boxed{...} appears, extract content inside.
|
| 56 |
- Keep digits, letters, decimal points, hyphens, slashes, commas, spaces.
|
| 57 |
-
- Collapse extra whitespace.
|
|
|
|
| 58 |
"""
|
| 59 |
inputs = {
|
| 60 |
"answer": {"type": "string", "description": "The final, correctly formatted answer string."}
|
|
|
|
| 54 |
- Remove LaTeX ($, \, { }).
|
| 55 |
- If boxed{...} appears, extract content inside.
|
| 56 |
- Keep digits, letters, decimal points, hyphens, slashes, commas, spaces.
|
| 57 |
+
- Collapse extra whitespace.
|
| 58 |
+
|
| 59 |
"""
|
| 60 |
inputs = {
|
| 61 |
"answer": {"type": "string", "description": "The final, correctly formatted answer string."}
|