[GH-ISSUE #68] 1.3.6的图像生成感觉改进了,但仍然无法本地显示 #59

Closed
opened 2026-02-27 15:38:10 +03:00 by kerem · 4 comments
Owner

Originally created by @szansonhuang on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/68

Image 测试图像生成模型时,没有报错信息了,但是一直停留在“正在测试”,没有后续反馈。文本生成和图像识别使用的gemini-3-flash一点测试就通过了。 Image Cherry Studio上也是类似的情况。 Image Antigravity里面可以正常生图。
Originally created by @szansonhuang on GitHub (Feb 24, 2026). Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/68 <img width="810" height="636" alt="Image" src="https://github.com/user-attachments/assets/c931d8ec-a2c3-4006-811d-0b1fe4850701" /> 测试图像生成模型时,没有报错信息了,但是一直停留在“正在测试”,没有后续反馈。文本生成和图像识别使用的gemini-3-flash一点测试就通过了。 <img width="1601" height="435" alt="Image" src="https://github.com/user-attachments/assets/8ec5656f-beba-43cc-8d3e-ca75c43c3ff0" /> Cherry Studio上也是类似的情况。 <img width="755" height="560" alt="Image" src="https://github.com/user-attachments/assets/dc53f3ea-5d30-4143-b5bd-33a42debdadd" /> Antigravity里面可以正常生图。
kerem closed this issue 2026-02-27 15:38:10 +03:00
Author
Owner

@NikkeTryHard commented on GitHub (Feb 24, 2026):

zg report and zg report traces are required

<!-- gh-comment-id:3950191138 --> @NikkeTryHard commented on GitHub (Feb 24, 2026): zg report and zg report traces are required
Author
Owner

@szansonhuang commented on GitHub (Feb 24, 2026):

07-26-08_gemini-3-pro-image-8176d77e.zip

diagnostic.zip

Latest trace: /root/.config/zerogravity/traces/2026-02-24/07-26-08_gemini-3-pro-image-8176d77e

Trace: 8176d77e — POST /v1/chat/completions

Field Value
Cascade ID 8176d77e-6f42-48d2-9765-2e05c2a1f1b9
Model gemini-3-pro-image
Stream false
Started 2026-02-24T07:26:08.589Z
Finished 2026-02-24T07:26:10.218Z
Duration 1628ms
Outcome upstream_error

Client Request

  • Messages: 1 (user text: 23 chars)
  • Preview: User: draw a red circle
  • Tools: 0 | Tool rounds: 0
  • Image: no
  • Params: model=gemini-3-pro-image

→ Full details in request.json

Turns (1 total)

Turn 0

  • MITM matched: ? (gate wait: 41ms)
  • Modify: remove 3/5 content messages, replace dummy prompt in USER_REQUEST wrapper (23 chars), strip 19/20 LS tools (keep generate_image), rewrite model gemini-3-flash → gemini-3.1-pro-high (LS bypass), inject generationConfig: temperature=1.0(default-g3), inject responseModalities=[TEXT,IMAGE] (image model) (64706B → 27516B)

Errors

  • ? Upstream: 503 No capacity available for model gemini-3.1-pro-high on the server

→ Full details in errors.json

Files

File Contains
request.json Client request summary
turns.json Per-turn MITM/gate/modify/response data
errors.json Error messages
modified_request.json[.gz] Full MITM-modified request body
ls_request.json[.gz] Original LS request (pre-modification)

Files:
summary.md (1494 bytes)
modified_request.json (27516 bytes)
replay_meta.json (153 bytes)
turns.json (482 bytes)
ls_request.json.gz (25018 bytes)
input.json (146 bytes)
errors.json (87 bytes)
request.json (281 bytes)
meta.txt (128 bytes)

<!-- gh-comment-id:3951212100 --> @szansonhuang commented on GitHub (Feb 24, 2026): [07-26-08_gemini-3-pro-image-8176d77e.zip](https://github.com/user-attachments/files/25518814/07-26-08_gemini-3-pro-image-8176d77e.zip) [diagnostic.zip](https://github.com/user-attachments/files/25518819/diagnostic.zip) Latest trace: /root/.config/zerogravity/traces/2026-02-24/07-26-08_gemini-3-pro-image-8176d77e # Trace: 8176d77e — POST /v1/chat/completions | Field | Value | |-------|-------| | Cascade ID | `8176d77e-6f42-48d2-9765-2e05c2a1f1b9` | | Model | gemini-3-pro-image | | Stream | false | | Started | 2026-02-24T07:26:08.589Z | | Finished | 2026-02-24T07:26:10.218Z | | Duration | 1628ms | | Outcome | **upstream_error** | ## Client Request - **Messages:** 1 (user text: 23 chars) - **Preview:** `User: draw a red circle` - **Tools:** 0 | **Tool rounds:** 0 - **Image:** no - **Params:** model=gemini-3-pro-image → Full details in [request.json](./request.json) ## Turns (1 total) ### Turn 0 - **MITM matched:** ? (gate wait: 41ms) - **Modify:** remove 3/5 content messages, replace dummy prompt in USER_REQUEST wrapper (23 chars), strip 19/20 LS tools (keep generate_image), rewrite model gemini-3-flash → gemini-3.1-pro-high (LS bypass), inject generationConfig: temperature=1.0(default-g3), inject responseModalities=[TEXT,IMAGE] (image model) (64706B → 27516B) ## Errors - ? Upstream: 503 No capacity available for model gemini-3.1-pro-high on the server → Full details in [errors.json](./errors.json) ## Files | File | Contains | |------|----------| | [request.json](./request.json) | Client request summary | | [turns.json](./turns.json) | Per-turn MITM/gate/modify/response data | | [errors.json](./errors.json) | Error messages | | modified_request.json[.gz] | Full MITM-modified request body | | ls_request.json[.gz] | Original LS request (pre-modification) | Files: summary.md (1494 bytes) modified_request.json (27516 bytes) replay_meta.json (153 bytes) turns.json (482 bytes) ls_request.json.gz (25018 bytes) input.json (146 bytes) errors.json (87 bytes) request.json (281 bytes) meta.txt (128 bytes)
Author
Owner

@NikkeTryHard commented on GitHub (Feb 25, 2026):

Closed by private implementation merge (PR #127 in private repo).

<!-- gh-comment-id:3956349209 --> @NikkeTryHard commented on GitHub (Feb 25, 2026): Closed by private implementation merge (PR #127 in private repo).
Author
Owner

@NikkeTryHard commented on GitHub (Feb 25, 2026):

Merged private implementation via PR #127 (private repo) and validated image-followup stability improvements.

Shipped behavior:

  • deterministic terminal signaling for direct image-followup transport/setup failures
  • centralized failure emission with fallback upstream-error storage when no event channel is available
  • Cortex compatibility path intentionally preserved
  • capacity-aware user messaging retained for no-inline-image responses

Verification:

  • targeted image integration tests
  • cargo build + clippy
  • smoke --quick + full smoke

Closing as fixed in private source repo implementation.

<!-- gh-comment-id:3956349213 --> @NikkeTryHard commented on GitHub (Feb 25, 2026): Merged private implementation via PR #127 (private repo) and validated image-followup stability improvements. Shipped behavior: - deterministic terminal signaling for direct image-followup transport/setup failures - centralized failure emission with fallback upstream-error storage when no event channel is available - Cortex compatibility path intentionally preserved - capacity-aware user messaging retained for no-inline-image responses Verification: - targeted image integration tests - cargo build + clippy - smoke --quick + full smoke Closing as fixed in private source repo implementation.
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
starred/zerogravity#59
No description provided.