-
-
Notifications
You must be signed in to change notification settings - Fork 12k
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
๐ style: add Claude 3.7 Sonnet and Haiku 3.5 #6512
Conversation
@liavar1 is attempting to deploy a commit to the LobeChat Desktop Team on Vercel. A member of the Team first needs to authorize it. |
๐ @liavar1 Thank you for raising your pull request and contributing to our Community |
I think Claude 3.5/3.7 sonnet support reasoning, will you please also add related abilities in the config?
|
Thanks! fixed. |
Huh, that's strange. Just now, when I was using claude-3.5-sonnet-20241022 in LobeChat, there indeed appeared a THINK block. So I thought it was already supported. However, I just took a look at Anthropic's documentation, and indeed, the only model listed that supports Extended Thinking is 3.7 sonnet. So, I may have a misunderstanding regarding the definition of this reasoning and its presentation in LobeChat. |
3.7่ฟๆbudget_tokensๅExtended output capabilities (beta)่ฟไธคไธชๅๆฐ๏ผbudget_tokensๅฏไปฅๆงๅถๆ่็tokenๆฐ๏ผExtended output capabilities (beta)ๅฏไปฅ่ฎฉ่พๅบ่พพๅฐ128k๏ผ่ฟไธคไธชๅๆฐlobechatไผ่ฏดๆฏๆๅ |
3.7 There are also two parameters: budget_tokens and Extended output capabilities (beta). budget_tokens can control the number of tokens to be thought, and Extended output capabilities (beta) can make the output reach 128k. Will these two parameters be supported by lobechat. |
Codecov ReportAll modified and coverable lines are covered by tests โ
Additional details and impacted files@@ Coverage Diff @@
## main #6512 +/- ##
==========================================
+ Coverage 91.62% 91.64% +0.01%
==========================================
Files 699 699
Lines 65173 65302 +129
Branches 3163 3162 -1
==========================================
+ Hits 59715 59844 +129
Misses 5458 5458
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 โ๏ธ
|
Not sure how to add this to the code |
@liavar1 please fix the lint |
@arvinxx Not sure how to handle |
โค๏ธ Great PR @liavar1 โค๏ธ 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.64.3](v1.64.2...v1.64.3) <sup>Released on **2025-02-25**</sup> #### ๐ Styles - **misc**: Add Claude 3.7 Sonnet and Haiku 3.5. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Add Claude 3.7 Sonnet and Haiku 3.5, closes [#6512](#6512) ([c8db2bb](c8db2bb)) </details> <div align="right"> [](#readme-top) </div>
๐ This PR is included in version 1.64.3 ๐ The release is available on: Your semantic-release bot ๐ฆ๐ |
* add claude3.7 and bedrock * add descriptions * add reasoning to claude 3.7 * add claude 3.7 to bedrock * added abilities * retrieve deleted claude 3.5 v1 to bedrock * reorderd abilities and added max output * fix lint --------- Co-authored-by: arvinxx <[email protected]>
### [Version 1.64.3](lobehub/lobe-chat@v1.64.2...v1.64.3) <sup>Released on **2025-02-25**</sup> #### ๐ Styles - **misc**: Add Claude 3.7 Sonnet and Haiku 3.5. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Add Claude 3.7 Sonnet and Haiku 3.5, closes [lobehub#6512](lobehub#6512) ([c8db2bb](lobehub@c8db2bb)) </details> <div align="right"> [](#readme-top) </div>
## [Version 1.106.0](v1.105.0...v1.106.0) <sup>Released on **2025-02-26**</sup> #### โจ Features - **misc**: Support claude sonnet 3.7 thinking. #### ๐ Styles - **misc**: Add Claude 3.7 Sonnet and Haiku 3.5, Update Gemini 2.0 search settings. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Support claude sonnet 3.7 thinking, closes [lobehub#6515](https://github.com/bentwnghk/lobe-chat/issues/6515) ([bc9829f](bc9829f)) #### Styles * **misc**: Add Claude 3.7 Sonnet and Haiku 3.5, closes [lobehub#6512](https://github.com/bentwnghk/lobe-chat/issues/6512) ([c8db2bb](c8db2bb)) * **misc**: Update Gemini 2.0 search settings, closes [lobehub#6516](https://github.com/bentwnghk/lobe-chat/issues/6516) ([250bbcb](250bbcb)) </details> <div align="right"> [](#readme-top) </div>
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
Support Claude 3.7 Sonnet and Haiku 3.5 for Claude API and Bedrock
๐ ่กฅๅ ไฟกๆฏ | Additional Information
added descriptions