[PR #70] [MERGED] fix: parsing thinking models #176

Closed
opened 2026-02-13 17:28:01 -06:00 by mirrors · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/HanaokaYuzu/Gemini-API/pull/70
Author: @ryanhe312
Created: 3/19/2025
Status: Merged
Merged: 3/19/2025
Merged by: @HanaokaYuzu

Base: masterHead: master


📝 Commits (2)

  • 12cdbe3 fix: parsing thinking models
  • ed47ea9 refactor: body parsing logic

📊 Changes

1 file changed (+11 additions, -12 deletions)

View changed files

📝 src/gemini_webapi/client.py (+11 -12)

📄 Description

Thinking model responses have been moved to response_json[3][2]. So we need to try from 0 to 4.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/HanaokaYuzu/Gemini-API/pull/70 **Author:** [@ryanhe312](https://github.com/ryanhe312) **Created:** 3/19/2025 **Status:** ✅ Merged **Merged:** 3/19/2025 **Merged by:** [@HanaokaYuzu](https://github.com/HanaokaYuzu) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`12cdbe3`](https://github.com/HanaokaYuzu/Gemini-API/commit/12cdbe3bf68d459a3866f542de8d0b56883e745e) fix: parsing thinking models - [`ed47ea9`](https://github.com/HanaokaYuzu/Gemini-API/commit/ed47ea933510cb24cacaaea389471e23cf5e22c4) refactor: body parsing logic ### 📊 Changes **1 file changed** (+11 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `src/gemini_webapi/client.py` (+11 -12) </details> ### 📄 Description Thinking model responses have been moved to `response_json[3][2]`. So we need to try from 0 to 4. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirrors 2026-02-13 17:28:01 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mirrors/Gemini-API#176
No description provided.