SergeyO7 commited on
Commit
fe80682
·
verified ·
1 Parent(s): 9b40c28

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +3 -3
agent.py CHANGED
@@ -28,8 +28,7 @@ class ChessboardToFENOnlineTool(Tool):
28
  'description': 'Path to the PNG/JPG image of the chessboard.'
29
  }
30
  }
31
- output_type =
32
- "string"
33
 
34
  def forward(self, image_path: str) -> str:
35
  # Step 1: Encode image to base64
@@ -300,7 +299,8 @@ class MagAgent:
300
  tools=self.tools,
301
  add_base_tools=True,
302
  additional_authorized_imports=self.imports,
303
- verbosity_level=2,
 
304
  max_steps=10
305
  )
306
  print("MagAgent initialized.")
 
28
  'description': 'Path to the PNG/JPG image of the chessboard.'
29
  }
30
  }
31
+ output_type = "string"
 
32
 
33
  def forward(self, image_path: str) -> str:
34
  # Step 1: Encode image to base64
 
299
  tools=self.tools,
300
  add_base_tools=True,
301
  additional_authorized_imports=self.imports,
302
+ verbosity_level=2
303
+ ,
304
  max_steps=10
305
  )
306
  print("MagAgent initialized.")