Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,9 @@ researcher = Agent(
|
|
35 |
verbose=True,
|
36 |
allow_delegation=False,
|
37 |
tools=[search_tool],
|
38 |
-
max_execution_time=
|
|
|
|
|
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
|
|
|
35 |
verbose=True,
|
36 |
allow_delegation=False,
|
37 |
tools=[search_tool],
|
38 |
+
max_execution_time=5,
|
39 |
+
max_iter=15, # Optional
|
40 |
+
max_rpm=None, # 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
|