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

💄 style: remove deprecated models #6269

Merged
merged 1 commit into from
Feb 17, 2025
Merged

💄 style: remove deprecated models #6269

merged 1 commit into from
Feb 17, 2025

Conversation

chai-mi
Copy link
Contributor

@chai-mi chai-mi commented Feb 17, 2025

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

移除了已弃用的模型 https://ai.google.dev/gemini-api/docs/models/gemini#gemini-1.0-pro

移除了已被替换的模型 https://ai.google.dev/gemini-api/docs/models/experimental-models#previous-models

📝 补充信息 | Additional Information

Copy link

vercel bot commented Feb 17, 2025

@chai-mi is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 💄 Design Design an style | 样式问题 labels Feb 17, 2025
@lobehubbot
Copy link
Member

👍 @chai-mi

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 Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.67%. Comparing base (1fc7ca6) to head (a50481b).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6269      +/-   ##
==========================================
- Coverage   91.69%   91.67%   -0.03%     
==========================================
  Files         681      681              
  Lines       62120    61935     -185     
  Branches     2886     4292    +1406     
==========================================
- Hits        56964    56779     -185     
  Misses       5156     5156              
Flag Coverage Δ
app 91.67% <100.00%> (-0.03%) ⬇️
server 97.90% <ø> (ø)

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.

Copy link

vercel bot commented Feb 17, 2025

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

Name Status Preview Comments Updated (UTC)
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 17, 2025 2:56pm

@arvinxx arvinxx merged commit 45977c3 into lobehub:main Feb 17, 2025
12 of 13 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @chai-mi ❤️

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 Feb 17, 2025
### [Version&nbsp;1.60.7](v1.60.6...v1.60.7)
<sup>Released on **2025-02-17**</sup>

#### 💄 Styles

- **misc**: Remove deprecated gemini models, update MiniMax models.

<br/>

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

#### Styles

* **misc**: Remove deprecated gemini models, closes [#6269](#6269) ([45977c3](45977c3))
* **misc**: Update MiniMax models, closes [#6270](#6270) ([2d7803a](2d7803a))

</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.60.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Feb 18, 2025
### [Version&nbsp;1.101.1](v1.101.0...v1.101.1)
<sup>Released on **2025-02-18**</sup>

#### 💄 Styles

- **misc**: Remove deprecated gemini models, sync chat limit, update MiniMax models.

<br/>

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

#### Styles

* **misc**: Remove deprecated gemini models, closes [lobehub#6269](https://github.com/bentwnghk/lobe-chat/issues/6269) ([45977c3](45977c3))
* **misc**: Sync chat limit, closes [lobehub#6207](https://github.com/bentwnghk/lobe-chat/issues/6207) ([cc2f536](cc2f536))
* **misc**: Update MiniMax models, closes [lobehub#6270](https://github.com/bentwnghk/lobe-chat/issues/6270) ([2d7803a](2d7803a))

</details>

<div align="right">

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

</div>
@sxjeru
Copy link
Contributor

sxjeru commented Feb 18, 2025

作为可选项,在模型实际下线前,其实不建议从列表中删除。

这个 pr 删掉的所有模型目前都还能在 api 调用。

@lobehubbot
Copy link
Member

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


As an optional option, it is not recommended to delete it from the list before the model is actually offline.

All models deleted by this pr can still be called in the API.

@chai-mi chai-mi deleted the gemini branch February 18, 2025 08:16
@chai-mi
Copy link
Contributor Author

chai-mi commented Feb 18, 2025

作为可选项,在模型实际下线前,其实不建议从列表中删除。

这个 pr 删掉的所有模型目前都还能在 api 调用。

我的习惯是,被标记为弃用的功能应该被替换

况且 Gemini 也都有替代模型可用,所以我觉得删除问题不大

@lobehubbot
Copy link
Member

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


As an optional option, it is not recommended to delete it from the list before the model is actually offline.

All models deleted by this pr can still be called in the API.

My habit is that features marked as deprecated should be replaced

Besides, Gemini also has alternative models available, so I don't think it's a big problem to delete it.

bentwnghk pushed a commit to bentwnghk/lobe-chat that referenced this pull request Feb 20, 2025
likaiqiang pushed a commit to likaiqiang/lobe-chat that referenced this pull request Feb 26, 2025
likaiqiang pushed a commit to likaiqiang/lobe-chat that referenced this pull request Feb 26, 2025
### [Version&nbsp;1.60.7](lobehub/lobe-chat@v1.60.6...v1.60.7)
<sup>Released on **2025-02-17**</sup>

#### 💄 Styles

- **misc**: Remove deprecated gemini models, update MiniMax models.

<br/>

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

#### Styles

* **misc**: Remove deprecated gemini models, closes [lobehub#6269](lobehub#6269) ([45977c3](lobehub@45977c3))
* **misc**: Update MiniMax models, closes [lobehub#6270](lobehub#6270) ([2d7803a](lobehub@2d7803a))

</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
💄 Design Design an style | 样式问题 released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants