Feat: system tool support stream response (#5206)

* Match SSE for FastGPT (#5168)

* Match SSE for FastGPT

* Modify the judgment

* Optimize logic for SSE transmission

* Refactor imports

* directly use workflowStreamResponse from props

* improve error handling and streamline onStreamData logic

* Refactor API client configuration

* perf: system tool support sse

* update doc

---------

Co-authored-by: Zhuangzai fa <143257420+ctrlz526@users.noreply.github.com>
This commit is contained in:
Archer
2025-07-12 16:39:01 +08:00
committed by GitHub
parent b591a16399
commit dae1093139
11 changed files with 113 additions and 68 deletions
+3 -3
View File
@@ -12768,8 +12768,8 @@ function main({secret}){
### **相关示例**
- [谷歌搜索](https://doc.fastgpt.in/docs/use-cases/app-cases/google_search/)
- [发送飞书webhook](https://doc.fastgpt.in/docs/use-cases/app-cases/feishu_webhook/)
- [谷歌搜索](https://doc.fastgpt.io/docs/use-cases/app-cases/google_search/)
- [发送飞书webhook](https://doc.fastgpt.io/docs/use-cases/app-cases/feishu_webhook/)
# 用户选择
## FastGPT 用户选择模块的使用说明
@@ -18332,7 +18332,7 @@ Fastgpt 提供了工作流线路可以返回去执行的功能,所以我们可
需要在 dev 环境下执行下面的操作。
> 可参照 [FastGPT|快速开始本地开发](https://doc.fastgpt.in/docs/development/intro/)
> 可参照 [FastGPT|快速开始本地开发](https://doc.fastgpt.io/docs/development/intro/)
1. ### 在 FastGPT 工作台中,创建一个应用