fix: ignore AgentType enum for now
This commit is contained in:
parent
09412b337e
commit
8c1783eee5
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ class InitializeAgent(AgentExecutor):
|
||||||
return initialize_agent(
|
return initialize_agent(
|
||||||
tools=tools,
|
tools=tools,
|
||||||
llm=llm,
|
llm=llm,
|
||||||
agent=agent,
|
# LangChain now uses Enum for agent, but we still support string
|
||||||
|
agent=agent, # type: ignore
|
||||||
memory=memory,
|
memory=memory,
|
||||||
return_intermediate_steps=True,
|
return_intermediate_steps=True,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue