Skip to content

Commit

Permalink
fix: update runnable input
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Oct 16, 2023
1 parent f99c304 commit ac4de4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langchain/src/agents/toolkits/aws_sfn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit ac4de4e

Please sign in to comment.