Skip to content
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: fix *_MODEL_LIST env in new provider #5350

Merged
merged 9 commits into from
Jan 10, 2025
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Jan 8, 2025

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Copy link

vercel bot commented Jan 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-database ✅ Ready (Inspect) Visit Preview Jan 10, 2025 6:42am
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 6:42am

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 8, 2025
@arvinxx arvinxx marked this pull request as draft January 8, 2025 15:06
@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Jan 8, 2025
@lobehubbot
Copy link
Member

👍 @arvinxx

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.10%. Comparing base (ea116c2) to head (a3ac15b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5350      +/-   ##
==========================================
+ Coverage   91.68%   93.10%   +1.41%     
==========================================
  Files         591      631      +40     
  Lines       45968    55391    +9423     
  Branches     2632     2689      +57     
==========================================
+ Hits        42148    51571    +9423     
  Misses       3820     3820              
Flag Coverage Δ
app 93.10% <100.00%> (+1.41%) ⬆️
server 97.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/utils/_deprecated/parseModels.ts Dismissed Show dismissed Hide dismissed
@arvinxx arvinxx marked this pull request as ready for review January 10, 2025 02:43
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Jan 10, 2025
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Jan 10, 2025
@lobehubbot
Copy link
Member

❤️ Great PR @arvinxx ❤️

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.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

github-actions bot pushed a commit that referenced this pull request Jan 10, 2025
### [Version&nbsp;1.45.6](v1.45.5...v1.45.6)
<sup>Released on **2025-01-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `*_MODEL_LIST` env in new provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `*_MODEL_LIST` env in new provider, closes [#5350](#5350) ([2b1b2a2](2b1b2a2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.45.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@breakstring
Copy link

好像 Docker Hub 里面没有这个版本 v1.45.6 的镜像?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems that there is no image of this version v1.45.6 in Docker Hub?

@sonnyyin
Copy link

V1.45.5对模型选择页面的控制无效,配置了关闭模型选择页面但是依然显示,希望能处理一下。是否考虑配置一个账号用于模型界面的统一开关配置?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


V1.45.5 has no effect on the control of the model selection page. It is configured to close the model selection page but it is still displayed. I hope it can be solved. Have you considered configuring an account for unified switch configuration of the model interface?

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Jan 10, 2025
### [Version&nbsp;1.87.4](v1.87.3...v1.87.4)
<sup>Released on **2025-01-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `*_MODEL_LIST` env in new provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `*_MODEL_LIST` env in new provider, closes [lobehub#5350](https://github.com/bentwnghk/lobe-chat/issues/5350) ([2b1b2a2](2b1b2a2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@breakstring
Copy link

好像 Docker Hub 里面没有这个版本 v1.45.6 的镜像?

有了,可能镜像比较慢。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems that there is no image of this version v1.45.6 in Docker Hub?

Yes, the mirror may be slower.

gecsp pushed a commit to gecsp/lobe-chat that referenced this pull request Jan 22, 2025
* update

* fix model list

* fix tests

* fix tests

* improve code

* update locales

* update locales

* fix

* fix ui
gecsp pushed a commit to gecsp/lobe-chat that referenced this pull request Jan 22, 2025
### [Version&nbsp;1.45.6](lobehub/lobe-chat@v1.45.5...v1.45.6)
<sup>Released on **2025-01-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `*_MODEL_LIST` env in new provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `*_MODEL_LIST` env in new provider, closes [lobehub#5350](lobehub#5350) ([2b1b2a2](lobehub@2b1b2a2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
4 participants