bstraehle commited on
Commit
e6a42a3
·
verified ·
1 Parent(s): bdbb04d

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +2 -2
crew.py CHANGED
@@ -54,13 +54,13 @@ def run_crew(question, file_name):
54
  role="Python Coding Agent",
55
  goal="Write and/or execute Python code to help answer question \"{topic}\". ",
56
  backstory="As an expert Python coding assistant, you write and/or execute Python code to help answer the question. ",
57
- allow_code_execution=True,
58
  allow_delegation=False,
59
- code_execution_mode="unsafe",
60
  llm=AGENT_MODEL,
61
  max_iter=3,
62
  tools=[python_coding_tool],
63
  verbose=True,
 
 
64
  )
65
 
66
  video_analysis_agent = Agent(
 
54
  role="Python Coding Agent",
55
  goal="Write and/or execute Python code to help answer question \"{topic}\". ",
56
  backstory="As an expert Python coding assistant, you write and/or execute Python code to help answer the question. ",
 
57
  allow_delegation=False,
 
58
  llm=AGENT_MODEL,
59
  max_iter=3,
60
  tools=[python_coding_tool],
61
  verbose=True,
62
+ allow_code_execution=True,
63
+ code_execution_mode="unsafe"
64
  )
65
 
66
  video_analysis_agent = Agent(