diff --git a/ui/src/workflow/nodes/ai-chat-node/index.vue b/ui/src/workflow/nodes/ai-chat-node/index.vue index 2b8e23509..46aee2ffd 100644 --- a/ui/src/workflow/nodes/ai-chat-node/index.vue +++ b/ui/src/workflow/nodes/ai-chat-node/index.vue @@ -137,7 +137,9 @@ chat_data.mcp_tool_id || (chat_data.mcp_servers && chat_data.mcp_servers.length > 0) " > -
+
{ set(props.nodeModel.properties.node_data, 'is_result', true) } } - if (props.nodeModel.properties.node_data.mcp_servers) { + if (props.nodeModel.properties.node_data.mcp_servers && !props.nodeModel.properties.node_data.mcp_source) { set(props.nodeModel.properties.node_data, 'mcp_source', 'custom') } getMcpToolSelectOptions()