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

๐Ÿ› fix: fix google gemini output relative issue #6970

Merged
merged 5 commits into from
Mar 15, 2025
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Mar 15, 2025

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

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

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

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

Copy link

vercel bot commented Mar 15, 2025

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

Name Status Preview Comments Updated (UTC)
lobe-chat-database โœ… Ready (Inspect) Visit Preview Mar 15, 2025 4:03am
lobe-chat-desktop โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Mar 15, 2025 4:03am
lobe-chat-preview โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Mar 15, 2025 4:03am

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. ๐Ÿ› Bug Something isn't working | ็ผบ้™ท labels Mar 15, 2025
@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
Contributor

gru-agent bot commented Mar 15, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail f97f553 ๐Ÿšซ Skipped No files need to be tested {"src/components/ModelSelect/index.tsx":"target file(src/components/ModelSelect/index.tsx) not in work scope \n include: src/utils,src/server,src/database,src/services,src/store,packages//src/ \n exclude: node_modules,/*.test.ts,/.test.tsx,**/.spec.ts,/*.spec.tsx,/.d.ts,**/.test.js,/*.spec.js,src/database/server","src/config/aiModels/google.ts":"target file(src/config/aiModels/google.ts) not in work scope \n include: src/utils,src/server,src/database,src/services,src/store,packages//src/** \n exclude: node_modules,/*.test.ts,/.test.tsx,**/.spec.ts,/*.spec.tsx,/.d.ts,**/.test.js,/*.spec.js,src/database/server","src/libs/agent-runtime/utils/streams/google-ai.test.ts":"target file(src/libs/agent-runtime/utils/streams/google-ai.test.ts) not in work scope \n include: src/utils,src/server,src/database,src/services,src/store,packages//src/** \n exclude: node_modules,/*.test.ts,/.test.tsx,**/.spec.ts,/*.spec.tsx,/.d.ts,โ€ฆ

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

Copy link

codecov bot commented Mar 15, 2025

Codecov Report

Attention: Patch coverage is 97.82609% with 1 line in your changes missing coverage. Please review.

Project coverage is 91.32%. Comparing base (59cafa0) to head (0b909b7).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/google/index.ts 94.73% 1 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff            @@
##             main    #6970     +/-   ##
=========================================
  Coverage   91.31%   91.32%             
=========================================
  Files         732      732             
  Lines       69143    69179     +36     
  Branches     4743     3402   -1341     
=========================================
+ Hits        63140    63176     +36     
  Misses       6003     6003             
Flag Coverage ฮ”
app 91.32% <97.82%> (+<0.01%) โฌ†๏ธ
server 97.49% <รธ> (รธ)

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.

๐Ÿš€ New features to boost your workflow:
  • โ„ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • ๐Ÿ“ฆ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Mar 15, 2025
@arvinxx arvinxx merged commit fdcaaf3 into main Mar 15, 2025
29 of 30 checks passed
@arvinxx arvinxx deleted the fix/google branch March 15, 2025 03:52
@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, 2025
### [Version&nbsp;1.71.1](v1.71.0...v1.71.1)
<sup>Released on **2025-03-15**</sup>

#### ๐Ÿ› Bug Fixes

- **misc**: Fix google gemini output relative issue.

#### ๐Ÿ’„ Styles

- **misc**: Update Vertex AI models.

<br/>

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

#### What's fixed

* **misc**: Fix google gemini output relative issue, closes [#6970](#6970) ([fdcaaf3](fdcaaf3))

#### Styles

* **misc**: Update Vertex AI models, closes [#6967](#6967) ([d4432f1](d4432f1))

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

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 15, 2025
### [Version&nbsp;1.112.1](v1.112.0...v1.112.1)
<sup>Released on **2025-03-15**</sup>

#### ๐Ÿ› Bug Fixes

- **misc**: Fix google gemini output relative issue.

#### ๐Ÿ’„ Styles

- **misc**: Update Vertex AI models.

<br/>

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

#### What's fixed

* **misc**: Fix google gemini output relative issue, closes [lobehub#6970](https://github.com/bentwnghk/lobe-chat/issues/6970) ([fdcaaf3](fdcaaf3))

#### Styles

* **misc**: Update Vertex AI models, closes [lobehub#6967](https://github.com/bentwnghk/lobe-chat/issues/6967) ([d4432f1](d4432f1))

</details>

<div align="right">

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

</div>
AirboZH pushed a commit to yuanze-dev/lobe-chat that referenced this pull request Mar 17, 2025
* fix google streaming

* add ability

* fix instruction

* fix tests

* update i18n
AirboZH pushed a commit to yuanze-dev/lobe-chat that referenced this pull request Mar 17, 2025
### [Version&nbsp;1.71.1](lobehub/lobe-chat@v1.71.0...v1.71.1)
<sup>Released on **2025-03-15**</sup>

#### ๐Ÿ› Bug Fixes

- **misc**: Fix google gemini output relative issue.

#### ๐Ÿ’„ Styles

- **misc**: Update Vertex AI models.

<br/>

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

#### What's fixed

* **misc**: Fix google gemini output relative issue, closes [lobehub#6970](lobehub#6970) ([fdcaaf3](lobehub@fdcaaf3))

#### Styles

* **misc**: Update Vertex AI models, closes [lobehub#6967](lobehub#6967) ([d4432f1](lobehub@d4432f1))

</details>

<div align="right">

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

</div>
github-actions bot pushed a commit to jaworldwideorg/OneJA-Bot that referenced this pull request Mar 18, 2025
## [Version&nbsp;1.19.0](v1.18.0...v1.19.0)
<sup>Released on **2025-03-18**</sup>

#### โœจ Features

- **misc**: Support gemini image output in chat.

#### ๐Ÿ› Bug Fixes

- **misc**: Fix claude 3.5+ models context max output, fix google gemini output relative issue, fix knowledge base issue.

#### ๐Ÿ’„ Styles

- **misc**: Support screenshot to clipboard when sharing, Update Vertex AI models, update Wenxin & Hunyuan model list.

<br/>

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

#### What's improved

* **misc**: Support gemini image output in chat, closes [lobehub#6931](https://github.com/jaworldwideorg/OneJA-Bot/issues/6931) ([d4c0d1f](d4c0d1f))

#### What's fixed

* **misc**: Fix claude 3.5+ models context max output, closes [lobehub#6984](https://github.com/jaworldwideorg/OneJA-Bot/issues/6984) ([da342dd](da342dd))
* **misc**: Fix google gemini output relative issue, closes [lobehub#6970](https://github.com/jaworldwideorg/OneJA-Bot/issues/6970) ([fdcaaf3](fdcaaf3))
* **misc**: Fix knowledge base issue, closes [lobehub#6973](https://github.com/jaworldwideorg/OneJA-Bot/issues/6973) ([15f39ef](15f39ef))

#### Styles

* **misc**: Support screenshot to clipboard when sharing, closes [lobehub#6275](https://github.com/jaworldwideorg/OneJA-Bot/issues/6275) ([45663c3](45663c3))
* **misc**: Update Vertex AI models, closes [lobehub#6967](https://github.com/jaworldwideorg/OneJA-Bot/issues/6967) ([d4432f1](d4432f1))
* **misc**: Update Wenxin & Hunyuan model list, closes [lobehub#6995](https://github.com/jaworldwideorg/OneJA-Bot/issues/6995) ([d017f35](d017f35))

</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
๐Ÿ› Bug Something isn't working | ็ผบ้™ท released size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
2 participants