Spaces:
Runtime error
Runtime error
Commit
·
1165dd8
1
Parent(s):
2f640e4
remove structured agent
Browse files
app.py
CHANGED
@@ -389,7 +389,7 @@ Thought:{agent_scratchpad}"""
|
|
389 |
|
390 |
agent = initialize_agent(tools, llm,
|
391 |
# agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
392 |
-
agent=AgentType.
|
393 |
verbose = True,
|
394 |
handle_parsing_errors = True,
|
395 |
max_iterations = int(os.getenv("max_iterations")),
|
|
|
389 |
|
390 |
agent = initialize_agent(tools, llm,
|
391 |
# agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
392 |
+
agent=AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,
|
393 |
verbose = True,
|
394 |
handle_parsing_errors = True,
|
395 |
max_iterations = int(os.getenv("max_iterations")),
|