Exception: Opencode::IdleStreamError
- Defined in:
- lib/opencode/error.rb
Overview
Raised by stream_events when meaningful (non-‘server.*`) events stop arriving for longer than the caller’s ‘idle_stream_timeout` window, even though the SSE socket itself is still alive (heartbeats are still flowing). Distinct from StaleSessionError, which fires when the session never produced any events in the first place. This one fires when the session WAS producing events and then went silent —the classic “OpenAI stream wedged mid-turn while the SSE keep- alive ticks on” failure mode.
Instance Attribute Summary
Attributes inherited from Error
Method Summary
Methods inherited from Error
Constructor Details
This class inherits a constructor from Opencode::Error