mirror of https://github.com/langgenius/dify.git
fix(api): fix single stepping variable loading (#25908)
This commit is contained in:
parent
1264e7d4f6
commit
13fe2ca8fe
|
|
@ -219,7 +219,7 @@ class LLMNode(Node):
|
|||
model_instance=model_instance,
|
||||
)
|
||||
|
||||
query = None
|
||||
query: str | None = None
|
||||
if self._node_data.memory:
|
||||
query = self._node_data.memory.query_prompt_template
|
||||
if not query and (
|
||||
|
|
|
|||
|
|
@ -402,6 +402,8 @@ class WorkflowEntry:
|
|||
input_value = user_inputs.get(node_variable)
|
||||
if not input_value:
|
||||
input_value = user_inputs.get(node_variable_key)
|
||||
if input_value is None:
|
||||
continue
|
||||
|
||||
if isinstance(input_value, dict) and "type" in input_value and "transfer_method" in input_value:
|
||||
input_value = file_factory.build_from_mapping(mapping=input_value, tenant_id=tenant_id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue