mirror of https://github.com/langgenius/dify.git
fix(llm_node): update file variable mapping to use vision configs (#20417)
This commit is contained in:
parent
ad8e79c440
commit
ad2f25875e
|
|
@ -900,7 +900,7 @@ class LLMNode(BaseNode[LLMNodeData]):
|
|||
variable_mapping["#context#"] = node_data.context.variable_selector
|
||||
|
||||
if node_data.vision.enabled:
|
||||
variable_mapping["#files#"] = ["sys", SystemVariableKey.FILES.value]
|
||||
variable_mapping["#files#"] = node_data.vision.configs.variable_selector
|
||||
|
||||
if node_data.memory:
|
||||
variable_mapping["#sys.query#"] = ["sys", SystemVariableKey.QUERY.value]
|
||||
|
|
|
|||
Loading…
Reference in New Issue