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