交互节点支持变量引用
- Dominant language
- TypeScript
- Stars
- 29.6k
- Forks
- 7.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 152
Description
**例行检查**
[//]: # '方框内填 x 表示打钩'
- [ ] 我已确认目前没有类似 features
- [ ] 我已确认我已升级到最新版本
- [ ] 我已完整查看过项目 README,已确定现有版本无法满足需求
- [ ] 我理解并愿意跟进此 features,协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 features 可能会被无视或直接关闭**
**功能描述**
表单节点的输入类型 文本框、单选框、多选框等不能引用动态变量,只能手动输入一些静态值,导致表单选项不能根据AI节点或上游节点的Array[string],动态显示出变量内容,对开发者和用户体验均不友好
**应用场景**
比如问题澄清等需要与用户互动的人工介入场景下,表单输入类型,比如多选项根据上游节点的变量Array动态绑定值
**相关示例**
比如上游节点的输出,options = Array[string],值为["手机","电脑","自行车"]
则表单节点的多选输入类型可以绑定该options变量,在工作流执行过程根据绑定的变量动态的生成三个选项
○ 手机
○ 电脑
○ 自行车
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the form node's text, single-choice, and multi-choice input handling, then trace how upstream AI or workflow node outputs are exposed. Verify with an Array[string] such as ["手机","电脑","自行车"] that a multi-choice field renders those values during workflow execution while static input still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100