Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

yingfeng2016
Copy link
Contributor

Features
新增流式输出的例子,使用fast api和sse,将大模型的输出实时推送到客户端(浏览器)

Feature Docs

Influence

Result
image

Other

@codecov-commenter
Copy link

codecov-commenter commented Aug 4, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.34%. Comparing base (5446c7e) to head (f7cdf12).

❗ 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.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@shenchucheng shenchucheng left a 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该作为可选依赖,而不是metagpt的依赖

@geekan
Copy link
Owner

geekan commented Oct 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants