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 Higress ai model provider #4755

Merged
merged 10 commits into from
Dec 6, 2024
Merged

Conversation

WindWaving
Copy link
Contributor

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

设置-语言模型新增支持Higress AI provider

📝 补充信息 | Additional Information

语言模型新增Higress provider

image

对话信息

image
image

Copy link

vercel bot commented Nov 22, 2024

Someone is attempting to deploy a commit to the LobeChat Community Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. Model Provider 模型服务商 🌠 Feature Request New feature or request | 特性与建议 labels Nov 22, 2024
@lobehubbot
Copy link
Member

👍 @WindWaving

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 Nov 24, 2024

Codecov Report

Attention: Patch coverage is 99.10471% with 23 lines in your changes missing coverage. Please review.

Project coverage is 92.07%. Comparing base (871f5b9) to head (9bbd9b7).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/higress/index.ts 55.55% 20 Missing ⚠️
src/libs/agent-runtime/AgentRuntime.ts 57.14% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4755      +/-   ##
==========================================
+ Coverage   91.59%   92.07%   +0.48%     
==========================================
  Files         525      527       +2     
  Lines       37464    40030    +2566     
  Branches     2331     3516    +1185     
==========================================
+ Hits        34314    36857    +2543     
- Misses       3150     3173      +23     
Flag Coverage Δ
app 92.07% <99.10%> (+0.48%) ⬆️
server 98.12% <ø> (ø)

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.

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.

Rebase 下 main,lodash 那个改下,其他没问题了~

src/libs/agent-runtime/higress/index.ts Outdated Show resolved Hide resolved
src/config/llm.ts Outdated Show resolved Hide resolved
@WindWaving
Copy link
Contributor Author

Rebase 下 main,lodash 那个改下,其他没问题了~

已经改好了🙏

@lobehubbot
Copy link
Member

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


Rebase main and lodash, and the rest will be fine~

Already changed🙏

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.

两个 README 的变动撤销下?不应该带在这个 PR 里的

src/server/modules/AgentRuntime/index.ts Outdated Show resolved Hide resolved
@arvinxx arvinxx changed the title feat: add Higress ai model provider ✨ feat: add Higress ai model provider Dec 1, 2024
Copy link

vercel bot commented Dec 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-database 🛑 Canceled (Inspect) Dec 6, 2024 1:25pm
lobe-chat-preview 🛑 Canceled (Inspect) Dec 6, 2024 1:25pm

@vercel vercel bot temporarily deployed to Preview – lobe-chat-database December 6, 2024 13:03 Inactive
@arvinxx arvinxx merged commit 835bbf6 into lobehub:main Dec 6, 2024
6 of 7 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @WindWaving ❤️

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

@Richardallis411
Copy link

Release

@lobehubbot
Copy link
Member

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


Release

github-actions bot pushed a commit that referenced this pull request Dec 6, 2024
## [Version&nbsp;1.36.0](v1.35.14...v1.36.0)
<sup>Released on **2024-12-06**</sup>

#### ✨ Features

- **misc**: Add Higress ai model provider.

<br/>

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

#### What's improved

* **misc**: Add Higress ai model provider, closes [#4755](#4755) ([835bbf6](835bbf6))

</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.36.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 Dec 6, 2024
## [Version&nbsp;1.78.0](v1.77.9...v1.78.0)
<sup>Released on **2024-12-06**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor page params to adapt next15 breaking change.

#### ✨ Features

- **misc**: Add Higress ai model provider.

<br/>

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

#### Code refactoring

* **misc**: Refactor page params to adapt next15 breaking change, closes [lobehub#4904](https://github.com/bentwnghk/lobe-chat/issues/4904) ([45ec7b4](45ec7b4))

#### What's improved

* **misc**: Add Higress ai model provider, closes [lobehub#4755](https://github.com/bentwnghk/lobe-chat/issues/4755) ([835bbf6](835bbf6))

</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 | 特性与建议 Model Provider 模型服务商 released size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants