wt002 commited on
Commit
c648e7c
·
verified ·
1 Parent(s): 9f6deed

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -1
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
- agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION, # Or another agent type like CHAT_ZERO_SHOT
 
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