From ac4de4e7ff86e050b09942fb4d4542bd0409bd15 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Mon, 16 Oct 2023 14:15:38 -0700 Subject: [PATCH] fix: update runnable input --- langchain/src/agents/toolkits/aws_sfn.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/src/agents/toolkits/aws_sfn.ts b/langchain/src/agents/toolkits/aws_sfn.ts index c5b6d2b60117..433614c20273 100644 --- a/langchain/src/agents/toolkits/aws_sfn.ts +++ b/langchain/src/agents/toolkits/aws_sfn.ts @@ -113,7 +113,7 @@ export function createAWSSfnAgent( }); const chain = new LLMChain({ prompt, llm }); const agent = new ZeroShotAgent({ - llmChain: chain, + runnable: chain, allowedTools: tools.map((t) => t.name), }); return AgentExecutor.fromAgentAndTools({