-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
👷 build: support to ignore \n
with XXX_MODEL_LIST
env
#4660
Conversation
@coulsontl 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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4660 +/- ##
=======================================
Coverage 92.55% 92.56%
=======================================
Files 517 517
Lines 36826 36831 +5
Branches 2295 2296 +1
=======================================
+ Hits 34086 34091 +5
Misses 2740 2740
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.
补充单测
@arvinxx 佬,已补充单测用例,并测试通过 |
@arvinxx, I have added a single test case and passed the test |
\n
with XXX_MODEL_LIST
env
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.
LGTM now. Thanks for your contribution!
\n
with XXX_MODEL_LIST
env\n
with XXX_MODEL_LIST
env
❤️ Great PR @coulsontl ❤️ 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. |
🎉 This PR is included in version 1.31.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
在docker compose文件里自定义模型时,如果模型比较多写在一行里不方便阅读,为了方便阅读只能换行写类似这样
但是这样写会出现模型为空字符串的情况
所以兼容一下名称名称里只包含空字符串和换行的情况
📝 补充信息 | Additional Information