style(langflow): fix formatting and add type hinting to custom.py and run.py files

This commit is contained in:
Gabriel Almeida 2023-04-25 11:15:17 -03:00 committed by Gabriel Luiz Freitas Almeida
commit 601ec86273

View file

@ -274,7 +274,11 @@ class InitializeAgent(AgentExecutor):
@classmethod
def initialize(
cls, llm: BaseLLM, tools: List[Tool], agent: str, memory: BaseChatMemory
cls,
llm: BaseLLM,
tools: List[Tool],
agent: str,
memory: Optional[BaseChatMemory] = None,
):
return initialize_agent(
tools=tools,