Spaces:
Runtime error
Runtime error
Create tools/final_answer.py
Browse files- tools/final_answer.py +6 -0
tools/final_answer.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from smolagents import tool
|
| 2 |
+
|
| 3 |
+
@tool
|
| 4 |
+
def FinalAnswerTool():
|
| 5 |
+
"""A tool that provides the final answer"""
|
| 6 |
+
return "Agent processing complete"
|