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 model provider groq #1569

Merged
merged 4 commits into from
Mar 15, 2024
Merged

✨ feat: support model provider groq #1569

merged 4 commits into from
Mar 15, 2024

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Mar 14, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

relative: #1562

@arvinxx arvinxx marked this pull request as draft March 14, 2024 13:17
Copy link

vercel bot commented Mar 14, 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 15, 2024 3:50pm

@arvinxx arvinxx changed the title [WIP] ✨ feat: support model provider groq (#1562) ✨ feat: support model provider groq (#1562) Mar 14, 2024
@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 Mar 14, 2024

Codecov Report

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

Project coverage is 92.47%. Comparing base (675902f) to head (a4148b6).
Report is 1 commits behind head on main.

Files Patch % Lines
src/libs/agent-runtime/groq/index.ts 20.51% 62 Missing ⚠️
src/app/api/chat/[provider]/agentRuntime.ts 46.66% 8 Missing ⚠️
src/app/api/errorResponse.ts 33.33% 2 Missing ⚠️
src/services/_auth.ts 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1569      +/-   ##
==========================================
- Coverage   92.96%   92.47%   -0.50%     
==========================================
  Files         235      237       +2     
  Lines       12730    12881     +151     
  Branches     1538     1542       +4     
==========================================
+ Hits        11835    11912      +77     
- Misses        895      969      +74     

☔ 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 53.16456% with 74 lines in your changes are missing coverage. Please review.

Project coverage is 92.53%. Comparing base (3d56dd6) to head (6082566).
Report is 1 commits behind head on main.

Files Patch % Lines
src/libs/agent-runtime/groq/index.ts 20.51% 62 Missing ⚠️
src/app/api/chat/[provider]/agentRuntime.ts 46.66% 8 Missing ⚠️
src/app/api/errorResponse.ts 33.33% 2 Missing ⚠️
src/services/_auth.ts 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1569      +/-   ##
==========================================
- Coverage   93.03%   92.53%   -0.50%     
==========================================
  Files         234      236       +2     
  Lines       12582    12733     +151     
  Branches     1525     1530       +5     
==========================================
+ Hits        11706    11783      +77     
- Misses        876      950      +74     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arvinxx arvinxx marked this pull request as ready for review March 15, 2024 15:53
@arvinxx arvinxx merged commit a04c364 into main Mar 15, 2024
8 of 10 checks passed
@arvinxx arvinxx deleted the groq branch March 15, 2024 15:54
@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 Mar 15, 2024
## [Version 0.138.0](v0.137.0...v0.138.0)
<sup>Released on **2024-03-15**</sup>

#### ✨ Features

- **misc**: Support groq as a model provider.

<br/>

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

#### What's improved

* **misc**: Support groq as a model provider, closes [#1569](#1569) [#1562](#1562) [#1570](#1570) ([a04c364](a04c364))

</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.138.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 16, 2024
## [Version&nbsp;1.19.0](v1.18.0...v1.19.0)
<sup>Released on **2024-03-16**</sup>

#### ✨ Features

- **ollama**: Improve connection check method and provide selector for user to control model options.
- **misc**: Support groq as a model provider.

#### 🐛 Bug Fixes

- **misc**: Fix rename, Fix URL typo.

#### 💄 Styles

- **misc**: Update Markdown in ChatItem.

<br/>

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

#### What's improved

* **ollama**: Improve connection check method and provide selector for user to control model options, closes [lobehub#1397](https://github.com/bentwnghk/lobe-chat/issues/1397) ([675902f](675902f))
* **misc**: Support groq as a model provider, closes [lobehub#1569](https://github.com/bentwnghk/lobe-chat/issues/1569) [lobehub#1562](https://github.com/bentwnghk/lobe-chat/issues/1562) [lobehub#1570](https://github.com/bentwnghk/lobe-chat/issues/1570) ([a04c364](a04c364))

#### What's fixed

* **misc**: Fix rename ([2faf6cf](2faf6cf))
* **misc**: Fix URL typo, closes [lobehub#1590](https://github.com/bentwnghk/lobe-chat/issues/1590) ([97137a9](97137a9))

#### Styles

* **misc**: Update Markdown in ChatItem ([be75549](be75549))

</details>

<div align="right">

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

</div>
denvey pushed a commit to denvey/lobe-chat that referenced this pull request Mar 17, 2024
* ✨ feat: support model provider groq (lobehub#1562)

* add Groq localization (lobehub#1570)

* 🐛 fix: fix groq logo and document

* 🌐 style: add i18n

---------

Co-authored-by: Jiaqi Cai <45190310+jcdiv47@users.noreply.github.com>
Co-authored-by: PedroZ <sdustpedro@gmail.com>
denvey pushed a commit to denvey/lobe-chat that referenced this pull request Mar 17, 2024
## [Version&nbsp;0.138.0](lobehub/lobe-chat@v0.137.0...v0.138.0)
<sup>Released on **2024-03-15**</sup>

#### ✨ Features

- **misc**: Support groq as a model provider.

<br/>

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

#### What's improved

* **misc**: Support groq as a model provider, closes [lobehub#1569](lobehub#1569) [lobehub#1562](lobehub#1562) [lobehub#1570](lobehub#1570) ([a04c364](lobehub@a04c364))

</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.138.0](lobehub/lobe-chat@v0.137.0...v0.138.0)
<sup>Released on **2024-03-15**</sup>

#### ✨ Features

- **misc**: Support groq as a model provider.

<br/>

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

#### What's improved

* **misc**: Support groq as a model provider, closes [#1569](lobehub/lobe-chat#1569) [#1562](lobehub/lobe-chat#1562) [#1570](lobehub/lobe-chat#1570) ([a04c364](lobehub/lobe-chat@a04c364))

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

Groq不能支持 增加Groq模型支持
4 participants