mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
文档问题: 如何在工作流中调用变量? #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @toddkingsing on GitHub (May 8, 2025).
问题描述
我了解提示词可以用变量{{positive_prompt}}来调用,但如何将其它变量传入工作流中呢?比如上游节点有一个名为width的变量,我需要把它传入工作流中的图像高度定义节点,怎么办?
页面链接
https://github.com/langgenius/dify-docs-mintlify/blob/main/zh-hans/guides/tools/tool-configuration/comfyui.mdx
建议修改
@AllenWriter commented on GitHub (May 9, 2025):
You can try writing the variable
{{positive_prompt}}directly into the input field of the downstream node.