Skip to content

Feat: system tool support stream response #5206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 12, 2025
Merged

Feat: system tool support stream response #5206

merged 3 commits into from
Jul 12, 2025

Conversation

c121914yu
Copy link
Collaborator

No description provided.

ctrlz526 and others added 2 commits July 12, 2025 11:39
* 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
Copy link
Contributor

gru-agent bot commented Jul 12, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail 9ed0e2b 🚫 Skipped No files need to be tested {"docSite/content/zh-cn/docs/development/upgrading/4101.md":"File path does not match include patterns.","packages/global/common/middle/tracks/constants.ts":"File path does not match include patterns.","packages/service/common/middle/tracks/utils.ts":"File path does not match include patterns.","packages/service/core/app/tool/api.ts":"File path does not match include patterns.","packages/service/core/workflow/dispatch/plugin/runTool.ts":"File path does not match include patterns.","packages/service/package.json":"File path does not match include patterns.","pnpm-lock.yaml":"File path does not match include patterns."}

History Assignment

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

Copy link

github-actions bot commented Jul 12, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 21.87% 12002 / 54875
🔵 Statements 21.87% 12002 / 54875
🔵 Functions 28.7% 312 / 1087
🔵 Branches 67.14% 848 / 1263
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/global/common/middle/tracks/constants.ts 100% 100% 100% 100%
packages/service/common/middle/tracks/utils.ts 38.46% 75% 50% 38.46% 13-27, 30-34, 54-68, 70-76
packages/service/core/app/tool/api.ts 43.33% 100% 0% 43.33% 12-30
packages/service/core/workflow/dispatch/plugin/runTool.ts 8.22% 100% 0% 8.22% 40-199
Generated in workflow #1408 for commit 96f26b0 by the Vitest Coverage Report Action

Copy link

github-actions bot commented Jul 12, 2025

Preview mcp_server Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_mcp_server_96f26b0869e74cc29f4c13bf9a9cf31794417cd8

Copy link

github-actions bot commented Jul 12, 2025

Preview sandbox Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_sandbox_96f26b0869e74cc29f4c13bf9a9cf31794417cd8

Copy link

github-actions bot commented Jul 12, 2025

Preview fastgpt Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_96f26b0869e74cc29f4c13bf9a9cf31794417cd8

@c121914yu c121914yu merged commit dae1093 into main Jul 12, 2025
8 checks passed
@c121914yu c121914yu deleted the v4.10.1-dev branch July 12, 2025 08:40
colnii pushed a commit to colnii/FastGPT that referenced this pull request Jul 14, 2025
* Match SSE for FastGPT (labring#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 <[email protected]>
chuanhu9 pushed a commit to chuanhu9/FastGPT that referenced this pull request Jul 17, 2025
* Match SSE for FastGPT (labring#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 <[email protected]>
dreamer6680 pushed a commit to dreamer6680/FastGPT1 that referenced this pull request Jul 21, 2025
* Match SSE for FastGPT (labring#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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants