mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
fix: provides correct prompts, tools and terminal predicates
Signed-off-by: Stream <Stream_2@qq.com>
This commit is contained in:
@ -1936,7 +1936,8 @@ class LLMNode(Node[LLMNodeData]):
|
||||
invoke_from=self.invoke_from,
|
||||
tool_invoke_from=ToolInvokeFrom.WORKFLOW,
|
||||
output_tool_names=select_output_tool_names(
|
||||
structured_output_enabled=self._node_data.structured_output_enabled
|
||||
structured_output_enabled=self._node_data.structured_output_enabled,
|
||||
include_illegal_output=True,
|
||||
),
|
||||
structured_output_schema=structured_output_schema,
|
||||
)
|
||||
@ -2041,7 +2042,8 @@ class LLMNode(Node[LLMNodeData]):
|
||||
invoke_from=self.invoke_from,
|
||||
tool_invoke_from=ToolInvokeFrom.WORKFLOW,
|
||||
output_tool_names=select_output_tool_names(
|
||||
structured_output_enabled=self._node_data.structured_output_enabled
|
||||
structured_output_enabled=self._node_data.structured_output_enabled,
|
||||
include_illegal_output=True,
|
||||
),
|
||||
structured_output_schema=structured_output_schema,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user