MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / MissingStreamClassError

Class MissingStreamClassError

src/opencode_ai/_response.py:558–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556
557
558class MissingStreamClassError(TypeError):
559 def __init__(self) -> None:
560 super().__init__(
561 "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `opencode_ai._streaming` for reference",
562 )
563
564
565class StreamAlreadyConsumed(OpencodeError):

Callers 1

_parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected