fix(llm-node): handle NoneSegment variables properly (#9978)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user