diff --git a/api/core/workflow/nodes/llm/node.py b/api/core/workflow/nodes/llm/node.py index abf77f3339..472587cb03 100644 --- a/api/core/workflow/nodes/llm/node.py +++ b/api/core/workflow/nodes/llm/node.py @@ -327,7 +327,7 @@ class LLMNode(BaseNode[LLMNodeData]): if variable is None: raise ValueError(f"Variable {variable_selector.variable} not found") if isinstance(variable, NoneSegment): - continue + inputs[variable_selector.variable] = "" inputs[variable_selector.variable] = variable.to_object() memory = node_data.memory