-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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: Multiple deepseek-reasoner request errors #5601
Conversation
@sxjeru is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
👍 @sxjeru 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 #5601 +/- ##
==========================================
+ Coverage 92.15% 92.17% +0.01%
==========================================
Files 647 647
Lines 57487 57512 +25
Branches 4061 4068 +7
==========================================
+ Hits 52978 53009 +31
+ Misses 4509 4503 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
这个 pair 逻辑之前 claude 和 google 都需要,感觉后续可以统一成一个公共方法给出来?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
可以的,不过咱不了解 lobechat 的架构,希望能详细说下具体要放在哪个文件,如何从外部引用等。 |
Yes, but we don't understand the structure of Lobechat, I hope to explain in detail which file to be placed, how to reference from external references, etc. |
❤️ Great PR @sxjeru ❤️ 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.49.7](v1.49.6...v1.49.7) <sup>Released on **2025-02-01**</sup> #### 🐛 Bug Fixes - **misc**: Multiple deepseek-reasoner request errors. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Multiple deepseek-reasoner request errors, closes [#5601](#5601) ([71cc32b](71cc32b)) </details> <div align="right"> [](#readme-top) </div>
可以,我后面写一个 RFC |
🎉 This PR is included in version 1.49.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Yes, I write a RFC later |
### [Version 1.91.4](v1.91.3...v1.91.4) <sup>Released on **2025-02-01**</sup> #### 🐛 Bug Fixes - **misc**: Multiple deepseek-reasoner request errors. #### 💄 Styles - **misc**: Support thinking for all non DeepSeek official api R1 models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Multiple deepseek-reasoner request errors, closes [lobehub#5601](https://github.com/bentwnghk/lobe-chat/issues/5601) ([71cc32b](71cc32b)) #### Styles * **misc**: Support thinking for all non DeepSeek official api R1 models, closes [lobehub#5654](https://github.com/bentwnghk/lobe-chat/issues/5654) ([9b32137](9b32137)) </details> <div align="right"> [](#readme-top) </div>
* Update index.ts * Update index.ts * Update index.test.ts
### [Version 1.49.7](lobehub/lobe-chat@v1.49.6...v1.49.7) <sup>Released on **2025-02-01**</sup> #### 🐛 Bug Fixes - **misc**: Multiple deepseek-reasoner request errors. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Multiple deepseek-reasoner request errors, closes [lobehub#5601](lobehub#5601) ([71cc32b](lobehub@71cc32b)) </details> <div align="right"> [](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
替代 #5548
通过插入空消息,使消息格式符合 deepseek 要求,避免报错与损失信息。
📝 补充信息 | Additional Information
报错举例:
fix #5620