-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
新增流式输出的例子,使用fast api和sse,将大模型的输出实时推送到客户端(浏览器) #1434
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1434 +/- ##
=======================================
Coverage 62.34% 62.34%
=======================================
Files 283 283
Lines 17371 17371
=======================================
Hits 10830 10830
Misses 6541 6541 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``
@@ -75,3 +75,6 @@ gymnasium==0.29.1 | |||
boto3~=1.34.69 | |||
spark_ai_python~=0.3.30 | |||
agentops | |||
sse-starlette==2.1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该作为可选依赖,而不是metagpt的依赖
On the one hand, example is not suitable for affecting requirements; on the other hand, it may be necessary to minimize the difference from other examples. |
Features
新增流式输出的例子,使用fast api和sse,将大模型的输出实时推送到客户端(浏览器)
Feature Docs
无
Influence
无
Result
Other
无