coze-dev / coze-dev/coze-studio

工作流嵌入工作流 - 流式输出问题

Open
#2,281 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Image

1. FLOW_B 是个对话流,结束节点设置的是流式输出大模型输出内容;
2. FLOW_A嵌入FLOW_B工作流,想要在FLOW_A中结束节点流式输出FLOW_B里面的内容,发现会输出两遍重复的;
3. 从这个工作流的配置上来看,理论上是会输出两遍,但是我尝试了多种形式的配置, 没找到什么方法可以做到流式输出,并且只输出一遍;

版本:0.3.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported FLOW_A and FLOW_B configuration described in the issue using version 0.3.0, with FLOW_B configured for streaming model output. Trace when the embedded workflow emits its stream and compare the observed output count; done means FLOW_A exposes the content once rather than twice.

Written by the indexing model from the issue text.

Assessment

Domain
ai, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.