-
-
Notifications
You must be signed in to change notification settings - Fork 11.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: Baichuan should not introduce freequency_penality parameters #3871
Conversation
@sxjeru is attempting to deploy a commit to the LobeHub Pro 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 |
为何不回滚到之前的实现? |
Why not roll back to the previous implementation? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3871 +/- ##
========================================
Coverage 91.82% 91.82%
========================================
Files 455 455
Lines 30433 30435 +2
Branches 2112 1963 -149
========================================
+ Hits 27946 27948 +2
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. |
文档里没提到这个参数,应该不在请求中使用才对。 |
This parameter is not mentioned in the documentation and should not be used in the request. |
你先自己测试下? |
Can you test it yourself first? |
❤️ 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.15.31](v1.15.30...v1.15.31) <sup>Released on **2024-09-10**</sup> #### 🐛 Bug Fixes - **misc**: Baichuan should not introduce `freequency_penality` parameters. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Baichuan should not introduce `freequency_penality` parameters, closes [#3871](#3871) ([66a061e](66a061e)) </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.31 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.58.15](v1.58.14...v1.58.15) <sup>Released on **2024-09-10**</sup> #### ♻ Code Refactoring - **misc**: Refactor brand implement for better custom. #### 🐛 Bug Fixes - **misc**: Baichuan should not introduce `freequency_penality` parameters, fix `/etc/resolv.conf`edit permission in docker image, fix claude 3.5 image with s3 url, fix tools calling in some edge cases, Gemini cannot input images when server database is enabled, Update baichuan param. #### 💄 Styles - **misc**: Add siliconcloud new model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor brand implement for better custom, closes [lobehub#3868](https://github.com/bentwnghk/lobe-chat/issues/3868) ([815b366](815b366)) #### What's fixed * **misc**: Baichuan should not introduce `freequency_penality` parameters, closes [lobehub#3871](https://github.com/bentwnghk/lobe-chat/issues/3871) ([66a061e](66a061e)) * **misc**: Fix `/etc/resolv.conf`edit permission in docker image, closes [lobehub#3880](https://github.com/bentwnghk/lobe-chat/issues/3880) ([fdaa190](fdaa190)) * **misc**: Fix claude 3.5 image with s3 url, closes [lobehub#3870](https://github.com/bentwnghk/lobe-chat/issues/3870) ([89c8dd4](89c8dd4)) * **misc**: Fix tools calling in some edge cases, closes [lobehub#3872](https://github.com/bentwnghk/lobe-chat/issues/3872) ([2ed759d](2ed759d)) * **misc**: Gemini cannot input images when server database is enabled, closes [lobehub#3370](https://github.com/bentwnghk/lobe-chat/issues/3370) ([eb552d2](eb552d2)) * **misc**: Update baichuan param, closes [lobehub#3356](https://github.com/bentwnghk/lobe-chat/issues/3356) ([29bced1](29bced1)) #### Styles * **misc**: Add siliconcloud new model, closes [lobehub#3865](https://github.com/bentwnghk/lobe-chat/issues/3865) ([c6b5a45](c6b5a45)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
# [baichuan] frequency_penalty must be between 1 and 2.
先尝试去掉 freequency_penality 的默认值(lobechat 默认为 0),看能否修复。
根据文档,不应该在此接口使用该参数。
fix #3356
📝 补充信息 | Additional Information