-
-
Couldn't load subscription status.
- Fork 13.9k
✨ feat: Support Doubao Models #5481
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
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 |
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.
/llm 路径下不再做任何变更
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.
这部分大概旧版设置页(/settings/llm)还在用吧,貌似本地调试还没有更新到服务端数据库在用的 /settings/provider
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.
本地的话需要配置 NEXT_PUBLIC_CLIENT_DB=pglite 开启新版,估计再迭代 2~3 个中版本,client db 就准备全量迁移 pglite 了。
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.
我已升级到v1.51.12,但大模型列表中没有豆包选项,请问任何开启?
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.
如果不是服务端数据库版本,需要在环境变量添加 NEXT_PUBLIC_CLIENT_DB=pglite
只有传递的参数调整了,其他都没调整,可以看下 Azure 的实现,应该基本可以复用的 |
Only the passed parameters have been adjusted, and nothing else has been adjusted. You can take a look at Azure's implementation. It should be basically reusable. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5481 +/- ##
==========================================
- Coverage 92.17% 92.15% -0.02%
==========================================
Files 640 648 +8
Lines 56962 57494 +532
Branches 2884 4262 +1378
==========================================
+ Hits 52506 52985 +479
- Misses 4456 4509 +53
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 @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.0](v1.48.4...v1.49.0) <sup>Released on **2025-01-27**</sup> #### ✨ Features - **misc**: Support Doubao Models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Support Doubao Models, closes [#5481](#5481) ([d8afe47](d8afe47)) </details> <div align="right"> [](#readme-top) </div>
|
🎉 This PR is included in version 1.49.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* feat(config): add Doubao provider * fix * fix * add * fix * fix * src/server/globalConfig/index.ts * src/app/(main)/settings/provider/(detail)/doubao/page.tsx * fix * try * try * rec * follow review * test * 👌try * Update doubao.ts * Update index.ts * Delete src/app/(main)/settings/llm/ProviderList/Doubao/index.tsx * Update providers.tsx * Update providers.tsx --------- Co-authored-by: Arvin Xu <[email protected]>
## [Version 1.49.0](lobehub/lobe-chat@v1.48.4...v1.49.0) <sup>Released on **2025-01-27**</sup> #### ✨ Features - **misc**: Support Doubao Models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Support Doubao Models, closes [lobehub#5481](lobehub#5481) ([d8afe47](lobehub@d8afe47)) </details> <div align="right"> [](#readme-top) </div>
* feat(config): add Doubao provider * fix * fix * add * fix * fix * src/server/globalConfig/index.ts * src/app/(main)/settings/provider/(detail)/doubao/page.tsx * fix * try * try * rec * follow review * test * 👌try * Update doubao.ts * Update index.ts * Delete src/app/(main)/settings/llm/ProviderList/Doubao/index.tsx * Update providers.tsx * Update providers.tsx --------- Co-authored-by: Arvin Xu <[email protected]>
## [Version 1.49.0](lobehub/lobe-chat@v1.48.4...v1.49.0) <sup>Released on **2025-01-27**</sup> #### ✨ Features - **misc**: Support Doubao Models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Support Doubao Models, closes [lobehub#5481](lobehub#5481) ([d8afe47](lobehub@d8afe47)) </details> <div align="right"> [](#readme-top) </div>
|
请问遇到这个问题需要如何处理? 请求 豆包 服务出错,请根据以下信息排查或重试 |
|
@xiaolee9897 麻烦把这个提成一个 issue 吧,可以说一下在用哪个模型。 |
@xiaolee9897 Please make this an issue, let me tell you which model you are using. |
* feat(config): add Doubao provider * fix * fix * add * fix * fix * src/server/globalConfig/index.ts * src/app/(main)/settings/provider/(detail)/doubao/page.tsx * fix * try * try * rec * follow review * test * 👌try * Update doubao.ts * Update index.ts * Delete src/app/(main)/settings/llm/ProviderList/Doubao/index.tsx * Update providers.tsx * Update providers.tsx --------- Co-authored-by: Arvin Xu <[email protected]>
## [Version 1.49.0](lobehub/lobe-chat@v1.48.4...v1.49.0) <sup>Released on **2025-01-27**</sup> #### ✨ Features - **misc**: Support Doubao Models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Support Doubao Models, closes [lobehub#5481](lobehub#5481) ([d8afe47](lobehub@d8afe47)) </details> <div align="right"> [](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
继承自 #3055
貌似 Azure 的实现方式有一定改变,原本已经实现的功能目前均未实现。已可正常聊天。
DOUBAO_MODEL_LIST添加📝 补充信息 | Additional Information