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 vertex ai #4487

Merged
merged 14 commits into from
Feb 18, 2025
Merged

✨ feat: support vertex ai #4487

merged 14 commits into from
Feb 18, 2025

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Oct 25, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Copy link

vercel bot commented Oct 25, 2024

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

Name Status Preview Comments Updated (UTC)
lobe-chat ❌ Failed (Inspect) Feb 18, 2025 6:08am
lobe-chat-database ✅ Ready (Inspect) Visit Preview Feb 18, 2025 6:08am
lobe-chat-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2025 6:08am
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2025 6:08am

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

Attention: Patch coverage is 97.56098% with 8 lines in your changes missing coverage. Please review.

Project coverage is 91.86%. Comparing base (cb9104d) to head (c6a1123).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/utils/streams/vertex-ai.ts 89.33% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4487      +/-   ##
==========================================
+ Coverage   91.83%   91.86%   +0.02%     
==========================================
  Files         681      684       +3     
  Lines       61872    62195     +323     
  Branches     4511     4325     -186     
==========================================
+ Hits        56821    57136     +315     
- Misses       5051     5059       +8     
Flag Coverage Δ
app 91.86% <97.56%> (+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.

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

@arvinxx arvinxx force-pushed the feat/vertex-ai branch 2 times, most recently from dc80022 to 41c28c5 Compare January 14, 2025 18:35
@arvinxx arvinxx marked this pull request as ready for review February 18, 2025 05:37
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 🌠 Feature Request New feature or request | 特性与建议 labels Feb 18, 2025
@arvinxx arvinxx added Build Docker 打上这个 label 后就可以触发 docker 镜像构建 and removed Build Docker 打上这个 label 后就可以触发 docker 镜像构建 labels Feb 18, 2025
@arvinxx arvinxx merged commit a0a9592 into main Feb 18, 2025
25 of 40 checks passed
@arvinxx arvinxx deleted the feat/vertex-ai branch February 18, 2025 06:49
@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 Feb 18, 2025
## [Version&nbsp;1.61.0](v1.60.9...v1.61.0)
<sup>Released on **2025-02-18**</sup>

#### ✨ Features

- **misc**: Support google vertex ai as a new provider.

#### 🐛 Bug Fixes

- **misc**: Try to fix pglite worker.

<br/>

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

#### What's improved

* **misc**: Support google vertex ai as a new provider, closes [#4487](#4487) ([a0a9592](a0a9592))

#### What's fixed

* **misc**: Try to fix pglite worker, closes [#6169](#6169) ([b3f4f13](b3f4f13))

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

The release is available on:

Your semantic-release bot 📦🚀

@arvinxx arvinxx removed the Build Docker 打上这个 label 后就可以触发 docker 镜像构建 label Feb 18, 2025
github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Feb 18, 2025
## [Version&nbsp;1.102.0](v1.101.1...v1.102.0)
<sup>Released on **2025-02-18**</sup>

#### ✨ Features

- **misc**: Support google vertex ai as a new provider.

#### 🐛 Bug Fixes

- **misc**: Try to fix pglite worker.

#### 💄 Styles

- **misc**: Add `kimi-latest` for Moonshot, improve error content and console error, improve perplexity models, improve serveral error code.

<br/>

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

#### What's improved

* **misc**: Support google vertex ai as a new provider, closes [lobehub#4487](https://github.com/bentwnghk/lobe-chat/issues/4487) ([a0a9592](a0a9592))

#### What's fixed

* **misc**: Try to fix pglite worker, closes [lobehub#6169](https://github.com/bentwnghk/lobe-chat/issues/6169) ([b3f4f13](b3f4f13))

#### Styles

* **misc**: Add `kimi-latest` for Moonshot, closes [lobehub#6295](https://github.com/bentwnghk/lobe-chat/issues/6295) ([4fb98da](4fb98da))
* **misc**: Improve error content and console error, closes [lobehub#6305](https://github.com/bentwnghk/lobe-chat/issues/6305) ([6a35f55](6a35f55))
* **misc**: Improve perplexity models, closes [lobehub#6307](https://github.com/bentwnghk/lobe-chat/issues/6307) ([c99908d](c99908d))
* **misc**: Improve serveral error code, closes [lobehub#6299](https://github.com/bentwnghk/lobe-chat/issues/6299) ([352cb90](352cb90))

</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 vertex ai model runtime

* update

* support vertex ai with api key

* update models

* fix lint

* fix

* fix again

* Create Dockerfile.pglite

* Create docker-pglite.yml

* Update docker-pglite.yml

* fix credentials

* Update docker-pglite.yml

* fix
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 Gemini through vertex AI
3 participants