Spaces:
Running
Running
Update agent_langchain.py
Browse files- agent_langchain.py +2 -2
agent_langchain.py
CHANGED
@@ -31,8 +31,8 @@ def agent_langchain(config, prompt):
|
|
31 |
llm,
|
32 |
agent = AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,
|
33 |
handle_parsing_errors = True,
|
34 |
-
max_iterations =
|
35 |
-
max_execution_time =
|
36 |
verbose = True
|
37 |
)
|
38 |
|
|
|
31 |
llm,
|
32 |
agent = AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,
|
33 |
handle_parsing_errors = True,
|
34 |
+
max_iterations = 100,
|
35 |
+
max_execution_time = 300,
|
36 |
verbose = True
|
37 |
)
|
38 |
|