[PR #170] [CLOSED] feat: add streaming response support #205

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

📋 Pull Request Information

Original PR: https://github.com/HanaokaYuzu/Gemini-API/pull/170
Author: @faithleysath
Created: 11/21/2025
Status: Closed

Base: masterHead: feat/stream-response-api


📝 Commits (1)

  • d1b82af feat: add streaming response support

📊 Changes

3 files changed (+263 additions, -0 deletions)

View changed files

📝 src/gemini_webapi/client.py (+249 -0)
📝 src/gemini_webapi/types/candidate.py (+6 -0)
📝 src/gemini_webapi/types/modeloutput.py (+8 -0)

📄 Description

  • Add generate_content_stream method for async streaming
  • Add delta_text and delta_thoughts fields in Candidate
  • Add delta properties in ModelOutput for streaming updates
  • Support chunked response with snapshot streaming

Nov-22-2025 03-29-52

Close #166


🔄 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/170 **Author:** [@faithleysath](https://github.com/faithleysath) **Created:** 11/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/stream-response-api` --- ### 📝 Commits (1) - [`d1b82af`](https://github.com/HanaokaYuzu/Gemini-API/commit/d1b82af8b8d707a28dfaab84461e03825f0460b8) feat: add streaming response support ### 📊 Changes **3 files changed** (+263 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/gemini_webapi/client.py` (+249 -0) 📝 `src/gemini_webapi/types/candidate.py` (+6 -0) 📝 `src/gemini_webapi/types/modeloutput.py` (+8 -0) </details> ### 📄 Description - Add `generate_content_stream` method for async streaming - Add `delta_text` and `delta_thoughts` fields in Candidate - Add delta properties in ModelOutput for streaming updates - Support chunked response with snapshot streaming ![Nov-22-2025 03-29-52](https://github.com/user-attachments/assets/eb2e2ab8-a22b-4bc2-8ad9-89409b21e509) Close #166 --- <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:05 -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#205
No description provided.