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: Add SiliconCloud model provider #3092

Merged
merged 15 commits into from
Aug 14, 2024
Merged

✨ feat: Add SiliconCloud model provider #3092

merged 15 commits into from
Aug 14, 2024

Conversation

sxjeru
Copy link
Contributor

@sxjeru sxjeru commented Jun 30, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

参考 #2804 实现,一切功能正常,推荐启用客户端请求,反应速度很快。

预设模型可再行讨论。

📝 补充信息 | Additional Information

https://docs.siliconflow.cn/docs/5-%E4%BB%B7%E6%A0%BC

Copy link

vercel bot commented Jun 30, 2024

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

👍 @sxjeru

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 Jun 30, 2024

Codecov Report

Attention: Patch coverage is 94.67456% with 9 lines in your changes missing coverage. Please review.

Project coverage is 94.22%. Comparing base (b634ade) to head (55ef94d).
Report is 2 commits behind head on main.

Files Patch % Lines
src/app/api/chat/agentRuntime.ts 14.28% 6 Missing ⚠️
src/libs/agent-runtime/AgentRuntime.ts 57.14% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3092    +/-   ##
========================================
  Coverage   94.22%   94.22%            
========================================
  Files         409      411     +2     
  Lines       25729    25897   +168     
  Branches     2028     2755   +727     
========================================
+ Hits        24243    24402   +159     
- Misses       1486     1495     +9     
Flag Coverage Δ
app 94.22% <94.67%> (+<0.01%) ⬆️
server 71.36% <96.10%> (+0.45%) ⬆️

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.

@arvinxx
Copy link
Contributor

arvinxx commented Jun 30, 2024

SiliconCloud 和 SiliconFlow 是啥关系?

@lobehubbot
Copy link
Member

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


What is the relationship between SiliconCloud and SiliconFlow?

@sxjeru
Copy link
Contributor Author

sxjeru commented Jun 30, 2024

SiliconCloud 是 SiliconFlow 旗下的 llm 云服务提供商。

https://siliconflow.cn/siliconcloud

@lobehubbot
Copy link
Member

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


SiliconCloud is a llm cloud service provider owned by SiliconFlow.

https://siliconflow.cn/siliconcloud

Copy link

vercel bot commented Jul 29, 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 Aug 14, 2024 1:56am

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.

@sxjeru sxjeru mentioned this pull request Aug 2, 2024
@UNHNQ
Copy link

UNHNQ commented Aug 13, 2024

@arvinxx PTAL

@lobehubbot
Copy link
Member

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


@arvinxx ASKED

@arvinxx arvinxx merged commit 0781dc5 into lobehub:main Aug 14, 2024
7 of 8 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @sxjeru ❤️

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 Aug 14, 2024
## [Version&nbsp;1.10.0](v1.9.8...v1.10.0)
<sup>Released on **2024-08-14**</sup>

#### ✨ Features

- **misc**: Add SiliconCloud model provider.

<br/>

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

#### What's improved

* **misc**: Add SiliconCloud model provider, closes [#3092](#3092) ([0781dc5](0781dc5))

</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.10.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 Aug 14, 2024
## [Version&nbsp;1.53.0](v1.52.7...v1.53.0)
<sup>Released on **2024-08-14**</sup>

#### ✨ Features

- **misc**: Add SiliconCloud model provider.

<br/>

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

#### What's improved

* **misc**: Add SiliconCloud model provider, closes [lobehub#3092](https://github.com/bentwnghk/lobe-chat/issues/3092) ([0781dc5](0781dc5))

</details>

<div align="right">

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

</div>
@sxjeru sxjeru deleted the sf branch August 24, 2024 05:35
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.

4 participants