prige commited on
Commit
43ff02f
·
verified ·
1 Parent(s): 6a8d3fe

Upload tool

Browse files
Files changed (1) hide show
  1. tool.py +1 -1
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: Any) -> Any:
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):