bstraehle commited on
Commit
51689e7
·
verified ·
1 Parent(s): 1fede0d

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +2 -2
crew.py CHANGED
@@ -303,7 +303,7 @@ def run_crew(question, file_path):
303
  backstory="As an expert Python code generation assistant, you generate code to help answer the question.",
304
  allow_delegation=False,
305
  llm=AGENT_MODEL,
306
- max_iter=5,
307
  tools=[code_generation_tool],
308
  verbose=False
309
  )
@@ -314,7 +314,7 @@ def run_crew(question, file_path):
314
  backstory="As an expert Python code execution assistant, you execute the code file to help answer the question.",
315
  allow_delegation=False,
316
  llm=AGENT_MODEL,
317
- max_iter=5,
318
  tools=[code_execution_tool],
319
  verbose=False
320
  )
 
303
  backstory="As an expert Python code generation assistant, you generate code to help answer the question.",
304
  allow_delegation=False,
305
  llm=AGENT_MODEL,
306
+ max_iter=3,
307
  tools=[code_generation_tool],
308
  verbose=False
309
  )
 
314
  backstory="As an expert Python code execution assistant, you execute the code file to help answer the question.",
315
  allow_delegation=False,
316
  llm=AGENT_MODEL,
317
+ max_iter=3,
318
  tools=[code_execution_tool],
319
  verbose=False
320
  )