[GH-ISSUE #6204] [Issue]:"Gemini finished without content (MALFORMED_FUNCTION_CALL)" #3457

Closed
opened 2026-10-21 06:03:19 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @scientar on GitHub (Sep 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6204

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Mari professor fail to respond with "Gemini finished without content (MALFORMED_FUNCTION_CALL)"

Expected behavior

respond normally

Actual behavior

fails with "Gemini finished without content (MALFORMED_FUNCTION_CALL)"

Steps to reproduce

1.connect to vertex gemini-3.8-flash
2.talk to mari professor
3.most times(but not evey time) will fail with "Gemini finished without content (MALFORMED_FUNCTION_CALL)"

Environment

  • Marinara Engine version:2.4.4
  • Install type: (source / installer / docker / termux / other) installer
  • OS + version: windows 11
  • Browser or app shell: firefox

Logs, screenshots, or video

Image

Additional context

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @scientar on GitHub (Sep 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6204 Originally assigned to: @SpicyMarinara on GitHub. ## Summary <!-- What is wrong in one or two sentences? --> Mari professor fail to respond with "Gemini finished without content (MALFORMED_FUNCTION_CALL)" ## Expected behavior <!-- What should have happened? --> respond normally ## Actual behavior <!-- What happened instead? --> fails with "Gemini finished without content (MALFORMED_FUNCTION_CALL)" ## Steps to reproduce 1.connect to vertex gemini-3.8-flash 2.talk to mari professor 3.most times(but not evey time) will fail with "Gemini finished without content (MALFORMED_FUNCTION_CALL)" ## Environment - Marinara Engine version:2.4.4 - Install type: (source / installer / docker / termux / other) installer - OS + version: windows 11 - Browser or app shell: firefox ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> <img width="660" height="250" alt="Image" src="https://github.com/user-attachments/assets/d8860c0a-0770-4223-8bb6-2efe9b995238" /> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:03:19 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

SpicyMarinara / Codex is handling this issue in draft #6205 as part of the assigned issue sweep. I’m tracing the affected path and keeping the fix and regression proof focused on this report.

<!-- gh-comment-id:5667371124 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): SpicyMarinara / Codex is handling this issue in draft #6205 as part of the assigned issue sweep. I’m tracing the affected path and keeping the fix and regression proof focused on this report.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

Fixed on staging in PR #6205 (merge commit). Professor Mari now requests her existing JSON command format from Google and Vertex. Empty MALFORMED_FUNCTION_CALL responses enter the existing bounded repair loop, preserving billed usage and completed commands. Actual-adapter regressions cover streamed/buffered responses, retry exhaustion, cancellation, unrelated errors and no replay of completed mutations. All required CI, CodeRabbit and 271 Node regressions passed.

<!-- gh-comment-id:5667968736 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): Fixed on staging in [PR #6205](https://github.com/Pasta-Devs/Marinara-Engine/pull/6205) ([merge commit](https://github.com/Pasta-Devs/Marinara-Engine/commit/e6d3d4d46ea661b4154e1a6dbf902c28300fb047)). Professor Mari now requests her existing JSON command format from Google and Vertex. Empty MALFORMED_FUNCTION_CALL responses enter the existing bounded repair loop, preserving billed usage and completed commands. Actual-adapter regressions cover streamed/buffered responses, retry exhaustion, cancellation, unrelated errors and no replay of completed mutations. All required CI, CodeRabbit and 271 Node regressions passed.
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
Pasta-Devs/Marinara-Engine#3457
No description provided.