[GH-ISSUE #1871] [Issue]: GM mode narration cuts out mid-sentence with LinkAPI Gemini model #907

Closed
opened 2026-10-21 05:23:15 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1871

Originally assigned to: @cha1latte on GitHub.

Summary

GM mode narration is cutting out mid-response in the Tauri desktop app shell. The narration card shows only the beginning of the GM response, ending mid-sentence, even though this appears to be the final displayed output.

Expected behavior

GM mode should display the full narration response from the GM/party model, or surface an error/continuation state if the provider stream is interrupted or truncated.

Actual behavior

The narration card stops mid-sentence. In the attached screenshot, the visible narration ends at:

Above the Skyport, the great brass heating lens lets out a sound like a dying trumpet—a wet,

The message appears incomplete, but no obvious recovery/continue/error state is shown.

Steps to reproduce

  1. Run Marinara Engine 1.6.1 from source on the refactor branch.
  2. Launch the Tauri desktop app shell in dev mode.
  3. Configure LinkAPI with Gemini 3.5 Flash as the GM/party model.
  4. Open or create a Game Mode session.
  5. Trigger GM narration.
  6. Observe that the narration card may stop mid-sentence instead of completing.

Impact area

  • Game mode
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Shared mode UI
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime

Environment

  • Branch or commit: refactor branch, exact commit not yet captured
  • Run mode: Tauri desktop app shell, dev mode
  • OS + version: Windows 11 Home 10.0.26200 build 26200
  • Node + pnpm versions: not captured
  • Rust version, if relevant: not captured
  • Remote Runtime URL configured? not relevant / not captured
  • Provider, model, or integration, if relevant: LinkAPI, Gemini 3.5 Flash as GM/party model
  • Marinara Engine version: 1.6.1
  • Install type: source

Logs, screenshots, or video

Screenshot attached showing the incomplete GM narration card.

Relevant setting visible in screenshot: Trim incomplete model endings appears unchecked, so this does not look like intentional trimming from that setting.

Regression notes

Unknown. Not yet confirmed whether this worked on an earlier commit/build.

Additional context

This may be a provider streaming/response-finalization issue, a Game Mode narration rendering issue, or a truncation/cleanup path that is incorrectly treating an incomplete model response as complete.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (Jun 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1871 Originally assigned to: @cha1latte on GitHub. ## Summary GM mode narration is cutting out mid-response in the Tauri desktop app shell. The narration card shows only the beginning of the GM response, ending mid-sentence, even though this appears to be the final displayed output. ## Expected behavior GM mode should display the full narration response from the GM/party model, or surface an error/continuation state if the provider stream is interrupted or truncated. ## Actual behavior The narration card stops mid-sentence. In the attached screenshot, the visible narration ends at: > Above the Skyport, the great brass heating lens lets out a sound like a dying trumpet—a wet, The message appears incomplete, but no obvious recovery/continue/error state is shown. ## Steps to reproduce 1. Run Marinara Engine `1.6.1` from source on the refactor branch. 2. Launch the Tauri desktop app shell in dev mode. 3. Configure LinkAPI with Gemini 3.5 Flash as the GM/party model. 4. Open or create a Game Mode session. 5. Trigger GM narration. 6. Observe that the narration card may stop mid-sentence instead of completing. ## Impact area - [x] Game mode - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Shared mode UI - [ ] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime ## Environment - Branch or commit: refactor branch, exact commit not yet captured - Run mode: Tauri desktop app shell, dev mode - OS + version: Windows 11 Home 10.0.26200 build 26200 - Node + pnpm versions: not captured - Rust version, if relevant: not captured - Remote Runtime URL configured? not relevant / not captured - Provider, model, or integration, if relevant: LinkAPI, Gemini 3.5 Flash as GM/party model - Marinara Engine version: 1.6.1 - Install type: source ## Logs, screenshots, or video Screenshot attached showing the incomplete GM narration card. Relevant setting visible in screenshot: `Trim incomplete model endings` appears unchecked, so this does not look like intentional trimming from that setting. ## Regression notes Unknown. Not yet confirmed whether this worked on an earlier commit/build. ## Additional context This may be a provider streaming/response-finalization issue, a Game Mode narration rendering issue, or a truncation/cleanup path that is incorrectly treating an incomplete model response as complete. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:23:15 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@cha1latte commented on GitHub (Jun 2, 2026):

fixed in #1875

<!-- gh-comment-id:4597949332 --> @cha1latte commented on GitHub (Jun 2, 2026): fixed in #1875
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#907
No description provided.