labring / labring/FastGPT

工作流中跨应用执行的流式输出问题

Open
#7,392 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
29.6k
Forks
7.3k
Avg merge
1d 7h
Merged PRs (30d)
152

Description

**例行检查**

[//]: # '方框内填 x 表示打钩'

- [ x] 我已确认目前没有类似 issue
- [ x] 我已完整查看过项目 README,以及[项目文档](https://doc.fastgpt.io/introduction/)
- [ x] 我使用了自己的 key,并确认我的 key 是可正常使用的
- [ x] 我理解并愿意跟进此 issue,协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能会被无视或直接关闭**

**你的版本**

- [ ] 公有云版本
- [ x] 私有部署版本, 具体版本号: 4.11.0

**问题描述, 日志截图,配置文件等**
我通过工作流编排了几个应用,然后主应用中通过意图分类指向不同分应用,分应用中确认都开启了流式输出,然后测试发现,走向分应用的接口返回结果 返回形式上是流式的,但是看着是一次性全部返回的,即1s内把所有流式结果返回了出来,而直接走向模型回答的问题则是正常的流式,我用其他版本测试,发现是一样的问题。

**复现步骤**

**预期结果**

**相关截图**

Image

Image

Image

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Reproduce the issue on private deployment 4.11.0 with an intent-classified main workflow calling a streaming sub-application, then compare its response timing with a direct model response and inspect the workflow API logs. Done means sub-application output reaches the client incrementally rather than arriving all at once.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.