Skip to content

[Windows/Desktop v1.17.11] OpenAI gpt-5.5-fast xhigh fails with reasoning part rs_*:0 not found #33934

Description

@NedMalki-Chief

Description

On Windows Desktop v1.17.11, OpenAI via Codex OAuth can fail a fresh Desktop session when using model openai/gpt-5.5-fast with variant xhigh.

The surfaced Desktop error is:

"reasoning part rs_0fb3300ac7bf0ed4016a3d4ba7f050819a94b5161d7e1791ab:0 not found"

I also saw the same shape with other reasoning ids in separate Desktop sessions.

Sanitized environment

  • OS: Windows 11 x64
  • OpenCode Desktop: v1.17.11
  • OpenCode CLI after manual alignment: v1.17.11
  • Provider: OpenAI using Codex OAuth
  • Runtime from log: llm.runtime=ai-sdk
  • Model from session DB: {"id":"gpt-5.5-fast","providerID":"openai","variant":"xhigh"}

Steps to reproduce

  1. On Windows 11, run OpenCode Desktop v1.17.11 authenticated to OpenAI via Codex OAuth.
  2. Select openai/gpt-5.5-fast with variant xhigh.
  3. Start a fresh Desktop agent session with a normal file-edit or documentation-inspection task.
  4. Let the assistant stream reasoning/tool-planning output.
  5. The session can fail with the reasoning part error above.

What I observed locally

  • New Desktop sessions were created successfully, then failed during the assistant stream.
  • The local DB had multiple reasoning parts associated with the same OpenAI reasoning item id before the assistant message stored the error.
  • Example duplicate OpenAI item id from metadata.openai.itemId: rs_0fb3300ac7bf0ed4016a3d4ba7f050819a94b5161d7e1791ab
  • Assistant error stored in DB: "reasoning part ...:0 not found"

Expected behavior

OpenCode should merge/reconcile repeated reasoning segments for one OpenAI Responses reasoning item, or tolerate a reasoning-end event without crashing the session.

Actual behavior

The Desktop session fails with "reasoning part rs_*:0 not found".

Mitigation that worked locally

  • Set the default agent model to openai/gpt-5.5 with variant high.
  • Disable gpt-5.5-fast variants in config.
  • After restart, a default OpenCode run selected gpt-5.5/high and completed.

Possibly related

Issue #27987 looks related at the processor layer because it discusses multiple reasoning-start/end cycles and reasoning part merging, but this report is specifically the OpenAI/Codex OAuth plus gpt-5.5-fast/xhigh failure case on Windows Desktop v1.17.11.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions