Skip to content

โœจ feat: add Nvidia NIM provider support #6142

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

Merged
merged 5 commits into from
Feb 14, 2025
Merged

Conversation

hezhijie0327
Copy link
Contributor

@hezhijie0327 hezhijie0327 commented Feb 14, 2025

๐Ÿ’ป ๅ˜ๆ›ด็ฑปๅž‹ | Change Type

  • โœจ feat
  • ๐Ÿ› fix
  • โ™ป๏ธ refactor
  • ๐Ÿ’„ style
  • ๐Ÿ‘ท build
  • โšก๏ธ perf
  • ๐Ÿ“ docs
  • ๐Ÿ”จ chore

๐Ÿ”€ ๅ˜ๆ›ด่ฏดๆ˜Ž | Description of Change

ๆ”ฏๆŒ Nvidia NIM

  1. Nvidia NIM Logo ๆ›ดๆ–ฐ [TODO]
  2. ้ข„่ฎพๆจกๅž‹ๅˆ—่กจๆ›ดๆ–ฐ [TODO]
  3. ๆ”ฏๆŒๆจกๅž‹ๅˆ—่กจ่‡ชๅŠจ่Žทๅ–
  4. ๅฏ็”จ่‡ชๅฎšไน‰ Endpoint URL๏ผˆๆœฌๅœฐ้ƒจ็ฝฒ๏ผ‰

๐Ÿ“ ่กฅๅ……ไฟกๆฏ | Additional Information

ๅŠŸ่ƒฝ ๆˆชๅ›พ
ๆจกๅž‹ๅˆ—่กจ่Žทๅ– image

close #5868
close #5959

Copy link

vercel bot commented Feb 14, 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.
้žๅธธๆ„Ÿ่ฐขๆ‚จๆๅ‡บๆ‹‰ๅ–่ฏทๆฑ‚ๅนถไธบๆˆ‘ไปฌ็š„็คพๅŒบๅšๅ‡บ่ดก็Œฎ๏ผŒ่ฏท็กฎไฟๆ‚จๅทฒ็ป้ตๅพชไบ†ๆˆ‘ไปฌ็š„่ดก็ŒฎๆŒ‡ๅ—๏ผŒๆˆ‘ไปฌไผšๅฐฝๅฟซๅฎกๆŸฅๅฎƒใ€‚
ๅฆ‚ๆžœๆ‚จ้‡ๅˆฐไปปไฝ•้—ฎ้ข˜๏ผŒ่ฏท้šๆ—ถไธŽๆˆ‘ไปฌ่”็ณปใ€‚

Copy link

codecov bot commented Feb 14, 2025

Codecov Report

Attention: Patch coverage is 87.55187% with 30 lines in your changes missing coverage. Please review.

Project coverage is 91.75%. Comparing base (4c2aaf6) to head (c788f33).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/nvidia/index.ts 38.63% 27 Missing โš ๏ธ
src/libs/agent-runtime/AgentRuntime.ts 57.14% 3 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6142      +/-   ##
==========================================
- Coverage   91.77%   91.75%   -0.02%     
==========================================
  Files         660      663       +3     
  Lines       60495    60736     +241     
  Branches     2840     4228    +1388     
==========================================
+ Hits        55520    55731     +211     
- Misses       4975     5005      +30     
Flag Coverage ฮ”
app 91.75% <87.55%> (-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.

@hezhijie0327 hezhijie0327 marked this pull request as ready for review February 14, 2025 10:16
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. ๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ labels Feb 14, 2025
@arvinxx
Copy link
Member

arvinxx commented Feb 14, 2025

nvidia icon: lobehub/lobe-icons#73

Copy link

vercel bot commented Feb 14, 2025

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
lobe-chat-preview ๐Ÿ›‘ Canceled (Inspect) Feb 14, 2025 0:42am

@arvinxx arvinxx merged commit ab796a7 into lobehub:main Feb 14, 2025
10 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 ๆถˆๆฏใ€‚

github-actions bot pushed a commit that referenced this pull request Feb 14, 2025
## [Version&nbsp;1.54.0](v1.53.12...v1.54.0)
<sup>Released on **2025-02-14**</sup>

#### โœจ Features

- **misc**: Add Nvidia NIM provider support.

#### ๐Ÿ’„ Styles

- **misc**: Improve advanced params settings.

<br/>

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

#### What's improved

* **misc**: Add Nvidia NIM provider support, closes [#6142](#6142) ([ab796a7](ab796a7))

#### Styles

* **misc**: Improve advanced params settings, closes [#6149](#6149) ([bf6699c](bf6699c))

</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.54.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

@hezhijie0327 hezhijie0327 deleted the nim branch February 14, 2025 14:28
ramu-narasinga pushed a commit to ramu-narasinga/lobe-chat that referenced this pull request Feb 17, 2025
* โœจ feat: add Nvidia NIM provider support

* ๐Ÿ› fix: fix build error

* ๐Ÿ”จ chore: sort code

* ๐Ÿ’„ style: update model list

* ๐Ÿ› fix: fix ci error
ramu-narasinga pushed a commit to ramu-narasinga/lobe-chat that referenced this pull request Feb 17, 2025
## [Version&nbsp;1.54.0](lobehub/lobe-chat@v1.53.12...v1.54.0)
<sup>Released on **2025-02-14**</sup>

#### โœจ Features

- **misc**: Add Nvidia NIM provider support.

#### ๐Ÿ’„ Styles

- **misc**: Improve advanced params settings.

<br/>

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

#### What's improved

* **misc**: Add Nvidia NIM provider support, closes [lobehub#6142](lobehub#6142) ([ab796a7](lobehub@ab796a7))

#### Styles

* **misc**: Improve advanced params settings, closes [lobehub#6149](lobehub#6149) ([bf6699c](lobehub@bf6699c))

</details>

<div align="right">

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

</div>
0xZZSheep pushed a commit to 0xZZSheep/lobe-chat that referenced this pull request Feb 26, 2025
* โœจ feat: add Nvidia NIM provider support

* ๐Ÿ› fix: fix build error

* ๐Ÿ”จ chore: sort code

* ๐Ÿ’„ style: update model list

* ๐Ÿ› fix: fix ci error
0xZZSheep pushed a commit to 0xZZSheep/lobe-chat that referenced this pull request Feb 26, 2025
## [Version&nbsp;1.54.0](lobehub/lobe-chat@v1.53.12...v1.54.0)
<sup>Released on **2025-02-14**</sup>

#### โœจ Features

- **misc**: Add Nvidia NIM provider support.

#### ๐Ÿ’„ Styles

- **misc**: Improve advanced params settings.

<br/>

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

#### What's improved

* **misc**: Add Nvidia NIM provider support, closes [lobehub#6142](lobehub#6142) ([ab796a7](lobehub@ab796a7))

#### Styles

* **misc**: Improve advanced params settings, closes [lobehub#6149](lobehub#6149) ([bf6699c](lobehub@bf6699c))

</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
3 participants