[GH-ISSUE #4233] [Issue]: GPT-5.6 Sol reasoning summary intermittently disappears in Roleplay #2290

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

Originally created by @SpicyMarinara on GitHub (Jul 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4233

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Roleplay responses generated with GPT-5.6 Sol through the official OpenAI API intermittently report hidden reasoning-token usage without persisting a readable reasoning summary, so the brain icon is absent.

Expected behavior

When Roleplay is configured to show thoughts and GPT-5.6 Sol uses a non-none reasoning effort, Marinara should catch every supported official Responses API reasoning-summary event and expose the completed summary through the existing brain icon.

Actual behavior

The response completes normally and debug usage reports reasoning tokens, but some assistant messages contain no extra.thinking value and therefore have no brain icon. Other responses using the same chat, connection, and parameters do persist reasoning correctly, confirming the failure is intermittent.

Steps to reproduce

  1. Configure an OpenAI connection using https://api.openai.com/v1, gpt-5.6-sol, and xhigh reasoning effort.
  2. Generate assistant replies in Roleplay mode with thoughts enabled.
  3. Observe that some replies report reasoning tokens in the debug usage log but save no reasoning summary or brain icon.

Environment

  • Marinara Engine version: current staging
  • Install type: source checkout
  • OS + version: macOS (version not provided)
  • Browser or app shell: Firefox desktop

Logs, screenshots, or video

[00:56:15.478] WARN (67163): [debug] Token usage — prompt: 26289  completion: 1053  visibleCompletion: 165  reasoning: 888  total: 27342  cached: 26286  cacheWrite: 0  finish: N/A

The persisted message confirms provider: "openai", showThoughts: true, reasoningEffort: "xhigh", tokensReasoning: 888, and no thinking value. A prior response in the same chat and configuration saved a 487-character summary successfully.

Additional context

Regression follow-up to PR #4221. The request already opts into reasoning.summary: "auto", but the official Responses API also emits completed-summary events such as response.reasoning_summary_text.done and response.reasoning_summary_part.done. Marinara currently handles summary deltas and final output items but not those completed-summary events.

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 @SpicyMarinara on GitHub (Jul 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4233 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Roleplay responses generated with GPT-5.6 Sol through the official OpenAI API intermittently report hidden reasoning-token usage without persisting a readable reasoning summary, so the brain icon is absent. ## Expected behavior When Roleplay is configured to show thoughts and GPT-5.6 Sol uses a non-none reasoning effort, Marinara should catch every supported official Responses API reasoning-summary event and expose the completed summary through the existing brain icon. ## Actual behavior The response completes normally and debug usage reports reasoning tokens, but some assistant messages contain no `extra.thinking` value and therefore have no brain icon. Other responses using the same chat, connection, and parameters do persist reasoning correctly, confirming the failure is intermittent. ## Steps to reproduce 1. Configure an OpenAI connection using `https://api.openai.com/v1`, `gpt-5.6-sol`, and `xhigh` reasoning effort. 2. Generate assistant replies in Roleplay mode with thoughts enabled. 3. Observe that some replies report reasoning tokens in the debug usage log but save no reasoning summary or brain icon. ## Environment - Marinara Engine version: current `staging` - Install type: source checkout - OS + version: macOS (version not provided) - Browser or app shell: Firefox desktop ## Logs, screenshots, or video ```text [00:56:15.478] WARN (67163): [debug] Token usage — prompt: 26289 completion: 1053 visibleCompletion: 165 reasoning: 888 total: 27342 cached: 26286 cacheWrite: 0 finish: N/A ``` The persisted message confirms `provider: "openai"`, `showThoughts: true`, `reasoningEffort: "xhigh"`, `tokensReasoning: 888`, and no `thinking` value. A prior response in the same chat and configuration saved a 487-character summary successfully. ## Additional context Regression follow-up to PR #4221. The request already opts into `reasoning.summary: "auto"`, but the official Responses API also emits completed-summary events such as `response.reasoning_summary_text.done` and `response.reasoning_summary_part.done`. Marinara currently handles summary deltas and final output items but not those completed-summary events. ## 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.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 28, 2026):

Starting implementation in draft PR #4234. Owner: @SpicyMarinara. Scope is limited to official OpenAI Responses reasoning-summary event capture and regression coverage.

<!-- gh-comment-id:5110620386 --> @SpicyMarinara commented on GitHub (Jul 28, 2026): Starting implementation in draft PR #4234. Owner: @SpicyMarinara. Scope is limited to official OpenAI Responses reasoning-summary event capture and regression coverage.
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#2290
No description provided.