fix: typo
This commit is contained in:
parent
3e66c5a5ce
commit
9936d8dc98
1 changed files with 7 additions and 1 deletions
|
|
@ -109,7 +109,13 @@ class InitializeAgent(AgentExecutor):
|
||||||
def initialize(
|
def initialize(
|
||||||
cls, llm: BaseLLM, tools: List[Tool], agent: str, memory: BaseChatMemory
|
cls, llm: BaseLLM, tools: List[Tool], agent: str, memory: BaseChatMemory
|
||||||
):
|
):
|
||||||
return initialize_agent(tools=tools, llm=llm, agent=agent, memory=memory, return_intermediate_steps=True
|
return initialize_agent(
|
||||||
|
tools=tools,
|
||||||
|
llm=llm,
|
||||||
|
agent=agent,
|
||||||
|
memory=memory,
|
||||||
|
return_intermediate_steps=True,
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue