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 SambaNova provider support #6218

Merged
merged 4 commits into from
Feb 17, 2025
Merged

Conversation

hezhijie0327
Copy link
Contributor

@hezhijie0327 hezhijie0327 commented Feb 16, 2025

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

  1. SambaNova Logo 更新 [TODO]
  2. 禁用客户端请求(不支持)[TODO]
  3. 禁用 DeepSeek-R1 模型(需加入 Waitlist)[TODO]
  4. 不支持从 API 获取模型列表

📝 补充信息 | Additional Information

功能 截图
对话 image
工具调用 image
深度推理 image

注:

  1. DeepSeek-R1 需要加入 Waitlist
    image

close #6132
discussion #6157 (comment)

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 16, 2025
Copy link

vercel bot commented Feb 16, 2025

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

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @hezhijie0327

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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added the 🌠 Feature Request New feature or request | 特性与建议 label Feb 16, 2025
Copy link

codecov bot commented Feb 16, 2025

Codecov Report

Attention: Patch coverage is 98.77049% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.69%. Comparing base (e061a20) to head (4e60bc0).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/AgentRuntime.ts 57.14% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6218      +/-   ##
==========================================
+ Coverage   91.66%   91.69%   +0.02%     
==========================================
  Files         678      681       +3     
  Lines       61781    62025     +244     
  Branches     3080     4289    +1209     
==========================================
+ Hits        56631    56872     +241     
- Misses       5150     5153       +3     
Flag Coverage Δ
app 91.69% <98.77%> (+0.02%) ⬆️
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.

@arvinxx
Copy link
Contributor

arvinxx commented Feb 17, 2025

SambaNova Logo 已更新:lobehub/lobe-icons@a9239f5

@lobehubbot
Copy link
Member

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


SambaNova Logo updated: lobehub/lobe-icons@a9239f5

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 5:24am

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

❤️ Great PR @hezhijie0327 ❤️

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 消息。

@hezhijie0327 hezhijie0327 deleted the sambanova branch February 17, 2025 05:36
github-actions bot pushed a commit that referenced this pull request Feb 17, 2025
## [Version&nbsp;1.60.0](v1.59.0...v1.60.0)
<sup>Released on **2025-02-17**</sup>

#### ✨ Features

- **misc**: Add SambaNova provider support.

<br/>

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

#### What's improved

* **misc**: Add SambaNova provider support, closes [#6218](#6218) ([a46eadf](a46eadf))

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

#### ✨ Features

- **misc**: Add SambaNova provider support, add volcengine as a new provider.

#### 🐛 Bug Fixes

- **misc**: Fix agent config not load correctly, fix loading on not login for db, fix model list issue in client mode, user feedback for empty/long group names in create/edit group modals.

#### 💄 Styles

- **misc**: Add o1 vision metadata, update Jina AI Provider name & model info.

<br/>

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

#### What's improved

* **misc**: Add SambaNova provider support, closes [lobehub#6218](https://github.com/bentwnghk/lobe-chat/issues/6218) ([a46eadf](a46eadf))
* **misc**: Add volcengine as a new provider, closes [lobehub#6221](https://github.com/bentwnghk/lobe-chat/issues/6221) ([09bf8f0](09bf8f0))

#### What's fixed

* **misc**: Fix agent config not load correctly, closes [lobehub#6252](https://github.com/bentwnghk/lobe-chat/issues/6252) ([fe9bc16](fe9bc16))
* **misc**: Fix loading on not login for db, closes [lobehub#6258](https://github.com/bentwnghk/lobe-chat/issues/6258) ([61692b9](61692b9))
* **misc**: Fix model list issue in client mode, closes [lobehub#6240](https://github.com/bentwnghk/lobe-chat/issues/6240) ([d6c6cda](d6c6cda))
* **misc**: User feedback for empty/long group names in create/edit group modals, closes [lobehub#6247](https://github.com/bentwnghk/lobe-chat/issues/6247) ([25c80d1](25c80d1))

#### Styles

* **misc**: Add o1 vision metadata, closes [lobehub#6263](https://github.com/bentwnghk/lobe-chat/issues/6263) ([261d068](261d068))
* **misc**: Update Jina AI Provider name & model info, closes [lobehub#6243](https://github.com/bentwnghk/lobe-chat/issues/6243) ([ddbe482](ddbe482))

</details>

<div align="right">

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

</div>
bentwnghk pushed a commit to bentwnghk/lobe-chat that referenced this pull request Feb 20, 2025
* ✨ feat: add SambaNova provider support

* 🐛 fix: fix build error

* 🔨 chore: disable Browser Request & `DeepSeek-R1` model
likaiqiang pushed a commit to likaiqiang/lobe-chat that referenced this pull request Feb 26, 2025
* ✨ feat: add SambaNova provider support

* 🐛 fix: fix build error

* 🔨 chore: disable Browser Request & `DeepSeek-R1` model
likaiqiang pushed a commit to likaiqiang/lobe-chat that referenced this pull request Feb 26, 2025
## [Version&nbsp;1.60.0](lobehub/lobe-chat@v1.59.0...v1.60.0)
<sup>Released on **2025-02-17**</sup>

#### ✨ Features

- **misc**: Add SambaNova provider support.

<br/>

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

#### What's improved

* **misc**: Add SambaNova provider support, closes [lobehub#6218](lobehub#6218) ([a46eadf](lobehub@a46eadf))

</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
🌠 Feature Request New feature or request | 特性与建议 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.

[Request] Support sambanova.ai Provider
3 participants