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

✨ feat: gpt-4o-mini to openai provider #3256

Merged
merged 6 commits into from
Jul 19, 2024

Conversation

danielglh
Copy link
Contributor

@danielglh danielglh commented Jul 18, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

Add the new gpt-4o-mini model and make gpt-3.5-turbo disabled by default since gpt-4o-mini is better & cheap than gpt-3.5-turbo.

image

Change the check model of openai provider to gpt-4o-mini (again, better & cheaper than gpt-3.5-turbo)

image

📝 补充信息 | Additional Information

N/A

Copy link

vercel bot commented Jul 18, 2024

@danielglh is attempting to deploy a commit to the LobeHub Pro Team on Vercel.

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @danielglh

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 Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.17%. Comparing base (8f7167d) to head (26efe20).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3256   +/-   ##
=======================================
  Coverage   94.17%   94.17%           
=======================================
  Files         394      394           
  Lines       24691    24712   +21     
  Branches     2804     2804           
=======================================
+ Hits        23252    23273   +21     
  Misses       1439     1439           
Flag Coverage Δ
app 94.17% <100.00%> (+<0.01%) ⬆️
server 68.09% <100.00%> (+0.08%) ⬆️

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.

@stanle1
Copy link

stanle1 commented Jul 19, 2024

When will merge?

@SihengCui
Copy link

I thought 1.5.5 merged this, but it didn't.

@arvinxx
Copy link
Contributor

arvinxx commented Jul 19, 2024

The test is failed

Copy link

vercel bot commented Jul 19, 2024

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 💬 Add feedback Jul 19, 2024 1:08pm
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 19, 2024 1:08pm

@lobehubbot
Copy link
Member

❤️ Great PR @danielglh ❤️

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 Jul 19, 2024
## [Version&nbsp;1.6.0](v1.5.5...v1.6.0)
<sup>Released on **2024-07-19**</sup>

#### ✨ Features

- **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model.

<br/>

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

#### What's improved

* **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model, closes [#3256](#3256) ([a84d807](a84d807))

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

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Jul 19, 2024
## [Version&nbsp;1.49.0](v1.48.4...v1.49.0)
<sup>Released on **2024-07-19**</sup>

#### ✨ Features

- **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model.

<br/>

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

#### What's improved

* **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model, closes [lobehub#3256](https://github.com/bentwnghk/lobe-chat/issues/3256) ([a84d807](a84d807))

</details>

<div align="right">

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

</div>
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
…t model (lobehub#3256)

* ✨ feat: gpt-4o-mini to openai provider

* ♻️ refactor: move gpt-4o-mini as default model

* ✅ test: fix test

* 🐛 fix: set gpt-4o-mini as default model

* chore: improve code

* chore: improve code

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
## [Version&nbsp;1.6.0](lobehub/lobe-chat@v1.5.5...v1.6.0)
<sup>Released on **2024-07-19**</sup>

#### ✨ Features

- **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model.

<br/>

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

#### What's improved

* **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model, closes [lobehub#3256](lobehub#3256) ([a84d807](lobehub@a84d807))

</details>

<div align="right">

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

</div>
kenxx pushed a commit to kenxx/lobe-chat that referenced this pull request Jul 30, 2024
…t model (lobehub#3256)

* ✨ feat: gpt-4o-mini to openai provider

* ♻️ refactor: move gpt-4o-mini as default model

* ✅ test: fix test

* 🐛 fix: set gpt-4o-mini as default model

* chore: improve code

* chore: improve code

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
kenxx pushed a commit to kenxx/lobe-chat that referenced this pull request Jul 30, 2024
## [Version&nbsp;1.6.0](lobehub/lobe-chat@v1.5.5...v1.6.0)
<sup>Released on **2024-07-19**</sup>

#### ✨ Features

- **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model.

<br/>

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

#### What's improved

* **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model, closes [lobehub#3256](lobehub#3256) ([a84d807](lobehub@a84d807))

</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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants