From 7c1cf33616eb1990a9d6d7f4b93e91575f2cddc8 Mon Sep 17 00:00:00 2001 From: Michael Kret <88898367+michael-radency@users.noreply.github.com> Date: Thu, 22 Feb 2024 09:47:00 +0200 Subject: [PATCH] fix: Wrong prompt input key for sql agent (#8708) --- .../nodes/agents/Agent/agents/SqlAgent/execute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/SqlAgent/execute.ts b/packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/SqlAgent/execute.ts index db5980e04687b..f312a901ba01f 100644 --- a/packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/SqlAgent/execute.ts +++ b/packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/SqlAgent/execute.ts @@ -45,7 +45,7 @@ export async function sqlAgentAgentExecute( input = getPromptInputByType({ ctx: this, i, - inputKey: 'input', + inputKey: 'text', promptTypeKey: 'promptType', }); }