Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(llm_node): Ignore user query when memory is disabled. (#11106)
-LAN-cbb4e9592813
diff --git a/api/core/workflow/nodes/llm/node.py b/api/core/workflow/nodes/llm/node.pyindex 9f5df1edc6f..8653f539a0b 100644--- a/api/core/workflow/nodes/llm/node.py+++ b/api/core/workflow/nodes/llm/node.py@@ -137,12 +137,12 @@ class LLMNode(BaseNode[LLMNodeData]):query = Noneif self.node_data.memory:query = self.node_data.memory.query_prompt_template- if not query and (- query_variable := self.graph_runtime_state.variable_pool.get(- (SYSTEM_VARIABLE_NODE_ID, SystemVariableKey.QUERY)- )- ):- query = query_variable.text+ if not query and (+ query_variable := self.graph_runtime_state.variable_pool.get(+ (SYSTEM_VARIABLE_NODE_ID, SystemVariableKey.QUERY)+ )+ ):+ query = query_variable.textprompt_messages, stop = self._fetch_prompt_messages(user_query=query,