-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
♻️ refactor: change empty content stream behavior #3883
Conversation
@hezhijie0327 is attempting to deploy a commit to the LobeHub Pro Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for raising your pull request and contributing to our Community |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3883 +/- ##
=========================================
Coverage 91.83% 91.83%
=========================================
Files 455 455
Lines 30445 30452 +7
Branches 1963 3105 +1142
=========================================
+ Hits 27958 27965 +7
Misses 2487 2487
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❤️ Great PR @hezhijie0327 ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.15.34](v1.15.33...v1.15.34) <sup>Released on **2024-09-10**</sup> #### ♻ Code Refactoring - **misc**: Change empty content stream behavior. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Change empty content stream behavior, closes [#3883](#3883) ([e910f68](e910f68)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.15.34 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.58.16](v1.58.15...v1.58.16) <sup>Released on **2024-09-10**</sup> #### ♻ Code Refactoring - **misc**: Change empty content stream behavior. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Change empty content stream behavior, closes [lobehub#3883](https://github.com/bentwnghk/lobe-chat/issues/3883) ([e910f68](e910f68)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
@abix5 can create a new issue and share the stream? |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
从 #3392 中拆分,Stream 流中
content
为空的处理行为情况如下:
当
tool_calls
存在,但content
为空字符串,引起 UI 对话界面显示空,但无报错📝 补充信息 | Additional Information