Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -463,7 +463,8 @@ tools = [wiki_tool, calc_tool, file_tool, web_tool, arvix_tool, youtube_tool, vi
|
|
463 |
# Create an agent using the planner, task classifier, and decision logic
|
464 |
agent = initialize_agent(
|
465 |
tools=tools,
|
466 |
-
|
|
|
467 |
verbose=True
|
468 |
)
|
469 |
|
|
|
463 |
# Create an agent using the planner, task classifier, and decision logic
|
464 |
agent = initialize_agent(
|
465 |
tools=tools,
|
466 |
+
llm=llm, # ✅ Required argument
|
467 |
+
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
468 |
verbose=True
|
469 |
)
|
470 |
|