-
-
Notifications
You must be signed in to change notification settings - Fork 10.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
♻️ refactor: genServerLLMConfig
function, get *_MODEL_LIST from env
#4694
Conversation
@hezhijie0327 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 |
CLOUDFLARE_MODEL_LIST
env missinggenServerLLMConfig
function, get *_MODEL_LIST from env
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4694 +/- ##
==========================================
- Coverage 92.44% 92.42% -0.02%
==========================================
Files 524 524
Lines 36893 36828 -65
Branches 2518 2365 -153
==========================================
- Hits 34104 34040 -64
+ Misses 2789 2788 -1
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 @hezhijie0327 ❤️ 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.31.7](v1.31.6...v1.31.7) <sup>Released on **2024-11-15**</sup> #### ♻ Code Refactoring - **misc**: `genServerLLMConfig` function, get *_MODEL_LIST from env. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: `genServerLLMConfig` function, get *_MODEL_LIST from env, closes [#4694](#4694) ([d84f369](d84f369)) </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.31.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.73.6](v1.73.5...v1.73.6) <sup>Released on **2024-11-15**</sup> #### ♻ Code Refactoring - **misc**: `genServerLLMConfig` function, get *_MODEL_LIST from env, move ChatInput to features/ChatInput. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: `genServerLLMConfig` function, get *_MODEL_LIST from env, closes [lobehub#4694](https://github.com/bentwnghk/lobe-chat/issues/4694) ([d84f369](d84f369)) * **misc**: Move ChatInput to features/ChatInput, closes [lobehub#4699](https://github.com/bentwnghk/lobe-chat/issues/4699) ([5737d3f](5737d3f)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
更改:
src/server/globalConfig/genServerLLMConfig.ts
:a. 从
process.env
中获取*_MODEL_LIST
src/config/llm.ts
:a. 移除所有
*_MODEL_LIST
修复:
CLOUDFLARE_MODEL_LIST
未声明📝 补充信息 | Additional Information