Spaces:
Sleeping
Sleeping
Update tools/final_answer.py
Browse files- tools/final_answer.py +1 -1
tools/final_answer.py
CHANGED
|
@@ -4,7 +4,7 @@ from smolagents.tools import Tool
|
|
| 4 |
class FinalAnswerTool(Tool):
|
| 5 |
name = "final_answer"
|
| 6 |
description = "Provides a final answer to the given problem."
|
| 7 |
-
inputs = {'answer': {'type': '
|
| 8 |
output_type = "string"
|
| 9 |
|
| 10 |
def forward(self, answer: Any) -> Any:
|
|
|
|
| 4 |
class FinalAnswerTool(Tool):
|
| 5 |
name = "final_answer"
|
| 6 |
description = "Provides a final answer to the given problem."
|
| 7 |
+
inputs = {'answer': {'type': 'string', 'description': 'The final answer to the problem'}}
|
| 8 |
output_type = "string"
|
| 9 |
|
| 10 |
def forward(self, answer: Any) -> Any:
|