Update app.py
Browse files
app.py
CHANGED
@@ -35,9 +35,9 @@ researcher = Agent(
|
|
35 |
verbose=True,
|
36 |
allow_delegation=False,
|
37 |
tools=[search_tool],
|
38 |
-
max_execution_time=
|
39 |
-
max_iter=
|
40 |
-
max_rpm=
|
41 |
llm=llm_zephyr_7b_beta
|
42 |
# You can pass an optional llm attribute specifying what mode you wanna use.
|
43 |
# It can be a local model through Ollama / LM Studio or a remote
|
@@ -58,9 +58,9 @@ writer = Agent(
|
|
58 |
backstory="""You are a renowned Content Strategist, known for your insightful and engaging articles.
|
59 |
You transform complex concepts into compelling narratives.""",
|
60 |
verbose=True,
|
61 |
-
max_execution_time=
|
62 |
-
max_iter=
|
63 |
-
max_rpm=
|
64 |
allow_delegation=True,
|
65 |
llm=llm_zephyr_7b_beta
|
66 |
)
|
|
|
35 |
verbose=True,
|
36 |
allow_delegation=False,
|
37 |
tools=[search_tool],
|
38 |
+
max_execution_time=120,
|
39 |
+
max_iter=50, # Optional
|
40 |
+
max_rpm=25, # Optional
|
41 |
llm=llm_zephyr_7b_beta
|
42 |
# You can pass an optional llm attribute specifying what mode you wanna use.
|
43 |
# It can be a local model through Ollama / LM Studio or a remote
|
|
|
58 |
backstory="""You are a renowned Content Strategist, known for your insightful and engaging articles.
|
59 |
You transform complex concepts into compelling narratives.""",
|
60 |
verbose=True,
|
61 |
+
max_execution_time=120,
|
62 |
+
max_iter=50, # Optional
|
63 |
+
max_rpm=25, # Optional
|
64 |
allow_delegation=True,
|
65 |
llm=llm_zephyr_7b_beta
|
66 |
)
|