Update crew.py
Browse files
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=
|
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=
|
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 |
)
|