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

Support streaming mode in AgentScope #347

Merged
merged 19 commits into from
Jul 19, 2024
Merged

Conversation

DavdGao
Copy link
Collaborator

@DavdGao DavdGao commented Jul 17, 2024

Description

  • Support streaming mode in all LLM APIs (except post api)
  • Test all streaming mode for all LLM APIs
  • Support streaming in terminal
  • Add tutorial for streaming
  • Add example for the streaming mode
  • Support streaming in AgentScope Studio
  • Support streaming mode in built-in agents

Test

Model Wrapper Tested
DashScopeChatWrapper Y
GeminiChatWrapper Y
LitellmChatWrapper Y
OllamaChatWrapper Y
OpenAIChatWrapper Y
ZhipuAIChatWrapper Y

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

@DavdGao DavdGao linked an issue Jul 18, 2024 that may be closed by this pull request
@DavdGao DavdGao changed the title [WIP] Support streaming mode in AgentScope Support streaming mode in AgentScope Jul 19, 2024
@DavdGao DavdGao requested a review from xieyxclack July 19, 2024 06:01
Copy link
Collaborator

@pan-x-c pan-x-c left a comment

Choose a reason for hiding this comment

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

LGTM

@DavdGao DavdGao merged commit 47f570e into modelscope:main Jul 19, 2024
14 checks passed
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.

Support stream output in ModelResponsee
3 participants