Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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=
|
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]
|