Skip to content

feat: enhance response handling to support gemini-2.0-thinking#1995

Merged
songquanpeng merged 1 commit intosongquanpeng:mainfrom
mxdlzg:gemini-2.0-flash-thinking
Dec 22, 2024
Merged

feat: enhance response handling to support gemini-2.0-thinking#1995
songquanpeng merged 1 commit intosongquanpeng:mainfrom
mxdlzg:gemini-2.0-flash-thinking

Conversation

@mxdlzg
Copy link
Copy Markdown
Contributor

@mxdlzg mxdlzg commented Dec 21, 2024

close #1993
close #1979

支持返回多parts时文本合并,支持gemini-2.0-flash-thinking-exp模型(steam模式/非stream模式)。

我已确认该 PR 已自测通过,相关截图如下:
(此处放上测试通过的截图,如果不涉及前端改动或从 UI 上无法看出,请放终端启动成功的截图)
image

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 1.18%. Comparing base (e9f117f) to head (89eb083).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
relay/adaptor/gemini/main.go 0.00% 11 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1995      +/-   ##
========================================
- Coverage   1.18%   1.18%   -0.01%     
========================================
  Files        150     150              
  Lines      12701   12710       +9     
========================================
  Hits         151     151              
- Misses     12536   12545       +9     
  Partials      14      14              

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

@QAbot-zh
Copy link
Copy Markdown

期待管理员尽快审阅合并

@songquanpeng songquanpeng merged commit 49ffb1c into songquanpeng:main Dec 22, 2024
SheldonLiu0412 pushed a commit to SheldonLiu0412/one-api that referenced this pull request Jan 23, 2025
iceyarmu pushed a commit to iceyarmu/one-api that referenced this pull request Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

请求适配一下gemini-2.0-flash-thinking 希望增加对Gemini 2.0的支持

3 participants