SergeyO7 commited on
Commit
6584358
·
verified ·
1 Parent(s): 8250ab3

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +3 -2
agent.py CHANGED
@@ -131,7 +131,8 @@ class PythonCodeReaderTool(Tool):
131
  name = "read_python_code"
132
  description = "Reads a Python (.py) file and returns its content as a string."
133
  inputs = {
134
- "file_path": {"type": "string", "description": "The path to the Python file to read"}
 
135
  }
136
  output_type = "string"
137
 
@@ -226,7 +227,7 @@ class MagAgent:
226
  tools=self.tools,
227
  add_base_tools=True,
228
  additional_authorized_imports=self.imports,
229
- verbosity_level=1,
230
  max_steps=20
231
  )
232
  print("MagAgent initialized.")
 
131
  name = "read_python_code"
132
  description = "Reads a Python (.py) file and returns its content as a string."
133
  inputs = {
134
+ "file_path": {"type"
135
+ : "string", "description": "The path to the Python file to read"}
136
  }
137
  output_type = "string"
138
 
 
227
  tools=self.tools,
228
  add_base_tools=True,
229
  additional_authorized_imports=self.imports,
230
+ verbosity_level=3,
231
  max_steps=20
232
  )
233
  print("MagAgent initialized.")