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

bugfix: cannot parse content if one streaming body has multi chunks #1606

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

rinfx
Copy link
Collaborator

@rinfx rinfx commented Dec 19, 2024

在处理流式响应时,如果streamingbody一次性收到了多个chunk,会无法正确解析content,修复该bug

Copy link
Collaborator

@johnlanni johnlanni left a comment

Choose a reason for hiding this comment

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

LGTM

@johnlanni johnlanni merged commit d74d327 into alibaba:main Dec 19, 2024
8 checks passed
@rinfx
Copy link
Collaborator Author

rinfx commented Dec 19, 2024

fixes #1574

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.47%. Comparing base (ef31e09) to head (5649ab5).
Report is 238 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1606      +/-   ##
==========================================
+ Coverage   35.91%   43.47%   +7.56%     
==========================================
  Files          69       76       +7     
  Lines       11576    12325     +749     
==========================================
+ Hits         4157     5358    +1201     
+ Misses       7104     6631     -473     
- Partials      315      336      +21     

see 69 files with indirect coverage changes

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.

3 participants