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: Support TogetherAI as new model provider #1709

Merged
merged 8 commits into from
Mar 29, 2024

Conversation

phsontung
Copy link
Contributor

@phsontung phsontung commented Mar 23, 2024

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

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

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

Support model provider: TogetherAI

Screenshot from 2024-03-29 14-23-59
Screenshot from 2024-03-29 14-22-00

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

  • Synced with main branch
  • Update lobe-ui icons for TogetherAI

Copy link

vercel bot commented Mar 23, 2024

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

๐Ÿ‘ @phsontung

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

@phsontung phsontung changed the title WIP: Support TogetherAI as new model provider Support TogetherAI as new model provider Mar 24, 2024
@arvinxx arvinxx changed the title Support TogetherAI as new model provider โœจ feat: Support TogetherAI as new model provider Mar 26, 2024
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, can you just rebase the code and wait for our work of lobe-icons?

locales/tr-TR/setting.json Show resolved Hide resolved
@arvinxx
Copy link
Contributor

arvinxx commented Mar 28, 2024

@phsontung hello, we have added the together icon: https://icons.lobehub.com/components/together

@phsontung
Copy link
Contributor Author

@phsontung hello, we have added the together icon: https://icons.lobehub.com/components/together

Thanks bro, I will update ASAP

@arvinxx
Copy link
Contributor

arvinxx commented Mar 29, 2024

@phsontung the test is failed

Copy link

vercel bot commented Mar 29, 2024

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

Name Status Preview Comments Updated (UTC)
lobe-chat โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Mar 29, 2024 8:22am

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 99.58506% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 90.32%. Comparing base (04d8e53) to head (8d15a62).
Report is 58 commits behind head on main.

Files Patch % Lines
src/libs/agent-runtime/zeroone/index.ts 0.00% 1 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1709      +/-   ##
==========================================
- Coverage   92.57%   90.32%   -2.26%     
==========================================
  Files         239      247       +8     
  Lines       13066    14154    +1088     
  Branches     1562      957     -605     
==========================================
+ Hits        12096    12784     +688     
- Misses        970     1370     +400     

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


Codecov Report

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

Project coverage is 90.26%. Comparing base (04d8e53) to head (f4a90a4).
Report is 58 commits behind head on main.

Files Patch % Lines
src/app/api/chat/[provider]/agentRuntime.ts 38.46% 8 Missing โš ๏ธ
src/libs/agent-runtime/zeroone/index.ts 0.00% 1 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1709      +/-   ##
==========================================
- Coverage   92.57%   90.26%   -2.32%     
==========================================
  Files         239      247       +8     
  Lines       13066    14154    +1088     
  Branches     1562     1614      +52     
==========================================
+ Hits        12096    12776     +680     
- Misses        970     1378     +408     

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.

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, I'll merge it! Thanks for your contributions~๐ŸŽ‰

@arvinxx arvinxx merged commit d6921ef into lobehub:main Mar 29, 2024
3 of 5 checks passed
@lobehubbot
Copy link
Member

โค๏ธ Great PR @phsontung โค๏ธ

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 Mar 29, 2024
## [Version 0.145.0](v0.144.1...v0.145.0)
<sup>Released on **2024-03-29**</sup>

#### โœจ Features

- **misc**: Support TogetherAI as new model provider.

<br/>

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

#### What's improved

* **misc**: Support TogetherAI as new model provider, closes [#1709](#1709) ([d6921ef](d6921ef))

</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 0.145.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 Mar 29, 2024
## [Version&nbsp;1.25.0](v1.24.3...v1.25.0)
<sup>Released on **2024-03-29**</sup>

#### โœจ Features

- **misc**: Support TogetherAI as new model provider.

#### ๐Ÿ› Bug Fixes

- **misc**: Rename.

<br/>

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

#### What's improved

* **misc**: Support TogetherAI as new model provider, closes [lobehub#1709](https://github.com/bentwnghk/lobe-chat/issues/1709) ([d6921ef](d6921ef))

#### What's fixed

* **misc**: Rename ([9c129c1](9c129c1))

</details>

<div align="right">

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

</div>
miroshar-success added a commit to miroshar-success/OpenAI_Integraion_platform that referenced this pull request Apr 5, 2024
## [Version&nbsp;0.145.0](lobehub/lobe-chat@v0.144.1...v0.145.0)
<sup>Released on **2024-03-29**</sup>

#### โœจ Features

- **misc**: Support TogetherAI as new model provider.

<br/>

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

#### What's improved

* **misc**: Support TogetherAI as new model provider, closes [#1709](lobehub/lobe-chat#1709) ([d6921ef](lobehub/lobe-chat@d6921ef))

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

3 participants