diff --git a/packages/@n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts b/packages/@n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts index 828dd1309e..35e43318f7 100644 --- a/packages/@n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts +++ b/packages/@n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts @@ -302,6 +302,9 @@ export class Agent implements INodeType { // Make Conversational Agent the default agent for versions 1.5 and below { ...agentTypeProperty, + options: agentTypeProperty?.options?.filter( + (o) => 'value' in o && o.value !== 'toolsAgent', + ), displayOptions: { show: { '@version': [{ _cnd: { lte: 1.5 } }] } }, default: 'conversationalAgent', },