GT5557 commited on
Commit
0dadfcb
·
verified ·
1 Parent(s): bc2a1fb

Update tools/final_answer.py

Browse files
Files changed (1) hide show
  1. tools/final_answer.py +2 -1
tools/final_answer.py CHANGED
@@ -11,4 +11,5 @@ class FinalAnswerTool(Tool):
11
  return answer
12
 
13
  def __init__(self, *args, **kwargs):
14
- self.is_initialized = False
 
 
11
  return answer
12
 
13
  def __init__(self, *args, **kwargs):
14
+ super().__init__(*args, **kwargs) # Mandatory for smolagents
15
+ self.is_initialized = False