peterpeter8585 commited on
Commit
557b800
Β·
verified Β·
1 Parent(s): ac550b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -113,8 +113,9 @@ tools.extend(FMT(root_dir=str(os.getcwd())).get_tools())
113
  # βœ… Agent μ΄ˆκΈ°ν™”
114
  # ──────────────────────────────
115
  mem=MEM()
116
- agent = create_structured_chat_agent(llm, tools, prompt)
117
- agent= AgentExecutor(agent=agent, tools=tools,memory=mem)
 
118
 
119
 
120
  # ──────────────────────────────
 
113
  # βœ… Agent μ΄ˆκΈ°ν™”
114
  # ──────────────────────────────
115
  mem=MEM()
116
+ agent=initialize_agent(toos,llm,agent=AgentType.OPENAI_MULTI_FUNCTIONS,verbose=True,memory=mem)
117
+ #agent = create_structured_chat_agent(llm, tools, prompt)
118
+ #agent= AgentExecutor(agent=agent, tools=tools,memory=mem)
119
 
120
 
121
  # ──────────────────────────────