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

♻️ refactor: improve code for provider #5532

Merged
merged 2 commits into from
Jan 21, 2025
Merged

♻️ refactor: improve code for provider #5532

merged 2 commits into from
Jan 21, 2025

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Jan 21, 2025

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Copy link

vercel bot commented Jan 21, 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 21, 2025 5:10am
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 5:10am

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 21, 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 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.59%. Comparing base (d60c09b) to head (88efb50).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #5532     +/-   ##
=========================================
  Coverage   92.59%   92.59%             
=========================================
  Files         640      640             
  Lines       56110    56110             
  Branches     2686     4042   +1356     
=========================================
  Hits        51956    51956             
  Misses       4154     4154             
Flag Coverage Δ
app 92.59% <ø> (ø)
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.

Copy link

gru-agent bot commented Jan 21, 2025

This pull request has been modified. If you want me to regenerate unit test for any of the files related, please find the file in "Files Changed" tab and add a comment @gru-agent. (The github "Comment on this file" feature is in the upper right corner of each file in "Files Changed" tab.)

@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 21, 2025
### [Version&nbsp;1.47.11](v1.47.10...v1.47.11)
<sup>Released on **2025-01-21**</sup>

#### ♻ Code Refactoring

- **misc**: Improve code for ai provider.

<br/>

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

#### Code refactoring

* **misc**: Improve code for ai provider, closes [#5532](#5532) ([ea59e24](ea59e24))

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

The release is available on:

Your semantic-release bot 📦🚀

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

#### ♻ Code Refactoring

- **misc**: Improve code for ai provider.

#### 💄 Styles

- **misc**: Refactor `[@nav](https://github.com/nav)` layout and improve pin list style.

<br/>

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

#### Code refactoring

* **misc**: Improve code for ai provider, closes [lobehub#5532](https://github.com/bentwnghk/lobe-chat/issues/5532) ([ea59e24](ea59e24))

#### Styles

* **misc**: Refactor `[@nav](https://github.com/nav)` layout and improve pin list style, closes [lobehub#5533](https://github.com/bentwnghk/lobe-chat/issues/5533) ([cc8a7f4](cc8a7f4))

</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
released size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants