Spaces:
Runtime error
Runtime error
Upload tool
Browse files
tool.py
CHANGED
|
@@ -7,7 +7,7 @@ class FinalAnswerTool(Tool):
|
|
| 7 |
inputs = {'answer': {'type': 'any', 'description': 'The well formated, short, and conversational final answer to the user`s problem or request.'}}
|
| 8 |
output_type = "any"
|
| 9 |
|
| 10 |
-
def forward(self, answer:
|
| 11 |
return answer
|
| 12 |
|
| 13 |
def __init__(self, *args, **kwargs):
|
|
|
|
| 7 |
inputs = {'answer': {'type': 'any', 'description': 'The well formated, short, and conversational final answer to the user`s problem or request.'}}
|
| 8 |
output_type = "any"
|
| 9 |
|
| 10 |
+
def forward(self, answer: str) -> str:
|
| 11 |
return answer
|
| 12 |
|
| 13 |
def __init__(self, *args, **kwargs):
|