-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
🐛 fix: fix Huggingface API interrupting when the output exceeds 140 tokens #4524
Conversation
… output exceeds 140 tokens 解决Huggingface API在输出超过140多个token时中断的问题
@kuangquanshuisn is attempting to deploy a commit to the LobeChat Community 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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4524 +/- ##
==========================================
- Coverage 92.30% 92.30% -0.01%
==========================================
Files 498 498
Lines 36238 36240 +2
Branches 2332 2182 -150
==========================================
- Hits 33451 33450 -1
- Misses 2787 2790 +3
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 ↗︎
|
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.
LGTM, Thanks for your contribution!
❤️ Great PR @kuangquanshuisn ❤️ 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.26.3](v1.26.2...v1.26.3) <sup>Released on **2024-10-28**</sup> #### 🐛 Bug Fixes - **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens. #### 💄 Styles - **misc**: Remove SenseChat-Vision model, due to model limitation. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens, closes [#4524](#4524) ([49acdd7](49acdd7)) #### Styles * **misc**: Remove SenseChat-Vision model, due to model limitation, closes [#4493](#4493) ([2aea033](2aea033)) </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.26.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.69.1](v1.69.0...v1.69.1) <sup>Released on **2024-10-28**</sup> #### ♻ Code Refactoring - **misc**: Refactor the plugin prompts to xml format. #### 🐛 Bug Fixes - **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens, fix page not switch when clicking on the pin assistant. #### 💄 Styles - **misc**: Remove SenseChat-Vision model, due to model limitation. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor the plugin prompts to xml format, closes [lobehub#4520](https://github.com/bentwnghk/lobe-chat/issues/4520) ([49be146](49be146)) #### What's fixed * **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens, closes [lobehub#4524](https://github.com/bentwnghk/lobe-chat/issues/4524) ([49acdd7](49acdd7)) * **misc**: Fix page not switch when clicking on the pin assistant, closes [lobehub#4521](https://github.com/bentwnghk/lobe-chat/issues/4521) ([30b424a](30b424a)) #### Styles * **misc**: Remove SenseChat-Vision model, due to model limitation, closes [lobehub#4493](https://github.com/bentwnghk/lobe-chat/issues/4493) ([2aea033](2aea033)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
解决Huggingface API在输出超过140多个token时中断的问题
📝 补充信息 | Additional Information