Responses API item-not-found loop when continuing session #6338

Closed
opened 2026-02-16 18:03:18 -05:00 by yindo · 0 comments
Owner

Originally created by @Muadiv on GitHub (Jan 15, 2026).

Originally assigned to: @thdxr on GitHub.

Summary

When using the TUI, a session started returning the error:
Item with id "rs_0e72389746f679bd01696959a2a9e48191a92a10f669c60875" not found. Items are not persisted when store is set to false.
After the first occurrence, every subsequent message in the session repeats the same error and the session is stuck.

Steps to Reproduce

  1. Run opencode v1.1.21.
  2. Start a session and send prompts that include tool calls.
  3. After some time, send another message or type "continue".

Expected

The client should not reference response item IDs when store is false, or it should set store: true whenever it relies on item IDs. Ideally expose a config flag to control this.

Actual

The session loops on the error above for every message.

Originally created by @Muadiv on GitHub (Jan 15, 2026). Originally assigned to: @thdxr on GitHub. ## Summary When using the TUI, a session started returning the error: Item with id "rs_0e72389746f679bd01696959a2a9e48191a92a10f669c60875" not found. Items are not persisted when `store` is set to false. After the first occurrence, every subsequent message in the session repeats the same error and the session is stuck. ## Steps to Reproduce 1. Run opencode v1.1.21. 2. Start a session and send prompts that include tool calls. 3. After some time, send another message or type "continue". ## Expected The client should not reference response item IDs when `store` is false, or it should set `store: true` whenever it relies on item IDs. Ideally expose a config flag to control this. ## Actual The session loops on the error above for every message.
yindo closed this issue 2026-02-16 18:03:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6338