mirror of
https://github.com/langgenius/dify.git
synced 2026-03-30 02:20:16 +08:00
fix: fetch LLM node input correctly
This commit is contained in:
@ -1471,7 +1471,7 @@ class LLMNode(Node[LLMNodeData]):
|
||||
if isinstance(item, PromptMessageContext):
|
||||
if len(item.value_selector) >= 2:
|
||||
prompt_context_selectors.append(item.value_selector)
|
||||
elif isinstance(item, LLMNodeChatModelMessage) and item.edition_type == "jinja2":
|
||||
elif isinstance(item, LLMNodeChatModelMessage):
|
||||
variable_template_parser = VariableTemplateParser(template=item.text)
|
||||
variable_selectors.extend(variable_template_parser.extract_variable_selectors())
|
||||
elif isinstance(prompt_template, LLMNodeCompletionModelPromptTemplate):
|
||||
|
||||
Reference in New Issue
Block a user