hdu commited on
Commit
7b05b49
Β·
verified Β·
1 Parent(s): 22cb8a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,7 +63,7 @@ def prepare_crew():
63
  allow_delegation=True,
64
  verbose=True,
65
  # ↑ Whether the agent execution should be in verbose mode
66
- max_iter=3,
67
  # ↑ maximum number of iterations the agent can perform before being forced to give its best answer
68
  llm=ChatOpenAI(model_name="gpt-4o-mini", temperature=0),
69
  tools = [tool],
@@ -85,7 +85,7 @@ def prepare_crew():
85
  allow_delegation=False,
86
  verbose=False,
87
  # ↑ Whether the agent execution should be in verbose mode
88
- max_iter=3,
89
  # ↑ maximum number of iterations the agent can perform before being forced to give its best answer
90
  llm=ChatOpenAI(model_name="gpt-4o-mini", temperature=0),
91
  tool=[Duck_search]
 
63
  allow_delegation=True,
64
  verbose=True,
65
  # ↑ Whether the agent execution should be in verbose mode
66
+ max_iter=5,
67
  # ↑ maximum number of iterations the agent can perform before being forced to give its best answer
68
  llm=ChatOpenAI(model_name="gpt-4o-mini", temperature=0),
69
  tools = [tool],
 
85
  allow_delegation=False,
86
  verbose=False,
87
  # ↑ Whether the agent execution should be in verbose mode
88
+ max_iter=5,
89
  # ↑ maximum number of iterations the agent can perform before being forced to give its best answer
90
  llm=ChatOpenAI(model_name="gpt-4o-mini", temperature=0),
91
  tool=[Duck_search]