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(route): fix OpenAI deployment restrictions #3206

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

RubuJam
Copy link
Contributor

@RubuJam RubuJam commented Jul 13, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

优化OpenAi的部署限制

Optimize OpenAi deployment restrictions

📝 补充信息 | Additional Information

Copy link

vercel bot commented Jul 13, 2024

@RubuJam 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

👍 @RubuJam

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 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.16%. Comparing base (7245a08) to head (14b857f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3206    +/-   ##
========================================
  Coverage   94.16%   94.16%            
========================================
  Files         393      393            
  Lines       24619    24619            
  Branches     1829     2793   +964     
========================================
  Hits        23183    23183            
  Misses       1436     1436            
Flag Coverage Δ
app 94.16% <100.00%> (ø)
server 67.74% <ø> (ø)

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

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 Jul 17, 2024 0:12am

@arvinxx
Copy link
Contributor

arvinxx commented Jul 16, 2024

测试下来好像有问题

image

@RubuJam RubuJam requested a review from arvinxx July 17, 2024 10:22
Copy link
Contributor

@arvinxx arvinxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now

@arvinxx arvinxx changed the title ⚡ perf(route): Optimize OpenAI deployment restrictions 🐛 fix(route): fix OpenAI deployment restrictions Jul 17, 2024
@arvinxx arvinxx merged commit 3d7a35d into lobehub:main Jul 17, 2024
7 of 8 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @RubuJam ❤️

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 17, 2024
### [Version&nbsp;1.5.3](v1.5.2...v1.5.3)
<sup>Released on **2024-07-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `OpenAI` deployment restrictions, fix cant duplicate assistant.

<br/>

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

#### What's fixed

* **misc**: Fix `OpenAI` deployment restrictions, closes [#3206](#3206) ([3d7a35d](3d7a35d))
* **misc**: Fix cant duplicate assistant, closes [#3242](#3242) ([0edc851](0edc851))

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

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 17, 2024
### [Version&nbsp;1.48.2](v1.48.1...v1.48.2)
<sup>Released on **2024-07-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `OpenAI` deployment restrictions, fix cant duplicate assistant.

<br/>

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

#### What's fixed

* **misc**: Fix `OpenAI` deployment restrictions, closes [lobehub#3206](https://github.com/bentwnghk/lobe-chat/issues/3206) ([3d7a35d](3d7a35d))
* **misc**: Fix cant duplicate assistant, closes [lobehub#3242](https://github.com/bentwnghk/lobe-chat/issues/3242) ([0edc851](0edc851))

</details>

<div align="right">

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

</div>
@RubuJam RubuJam deleted the perf/openai branch July 17, 2024 12:41
HansKing98 added a commit to HansKing98/lobe-chat that referenced this pull request Jul 18, 2024
* commit '4531e24293dd1bd7def5bcd6db84c0c62ae64823':
  🔖 chore(release): v1.5.4 [skip ci]
  🐛 fix: fix delete session group (lobehub#3245)
  📝 docs(bot): Auto sync agents & plugin to readme
  🔖 chore(release): v1.5.3 [skip ci]
  🐛 fix: fix cant duplicate assistant (lobehub#3242)
  🐛 fix: fix `OpenAI` deployment restrictions (lobehub#3206)
  🔖 chore(release): v1.5.2 [skip ci]
  🐛 fix: fix session not reorder after send message (lobehub#3239)
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
* ⚡ perf(route): Optimize `OpenAI` deployment restrictions

* 🐛 fix(route): incorrect use of `hkg1`

* 🐛 fix(route): Incorrect use of `hkg1`
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
### [Version&nbsp;1.5.3](lobehub/lobe-chat@v1.5.2...v1.5.3)
<sup>Released on **2024-07-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `OpenAI` deployment restrictions, fix cant duplicate assistant.

<br/>

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

#### What's fixed

* **misc**: Fix `OpenAI` deployment restrictions, closes [lobehub#3206](lobehub#3206) ([3d7a35d](lobehub@3d7a35d))
* **misc**: Fix cant duplicate assistant, closes [lobehub#3242](lobehub#3242) ([0edc851](lobehub@0edc851))

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

[Bug] Vercel deployment banned by OpenAI API
3 participants