From 24af4f84ca558ebde66098a970d3f91320b96c4a Mon Sep 17 00:00:00 2001 From: Henry Date: Sat, 27 May 2023 13:28:21 +0100 Subject: [PATCH] fix conversational chain output response --- .../nodes/chains/ConversationChain/ConversationChain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/nodes/chains/ConversationChain/ConversationChain.ts b/packages/components/nodes/chains/ConversationChain/ConversationChain.ts index 4e39ae6db..843e05fc6 100644 --- a/packages/components/nodes/chains/ConversationChain/ConversationChain.ts +++ b/packages/components/nodes/chains/ConversationChain/ConversationChain.ts @@ -96,7 +96,7 @@ class ConversationChain_Chains implements INode { return res?.response } else { const res = await chain.call({ input }) - return res?.text + return res?.response } } }