| 556 | |
| 557 | |
| 558 | class 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 | |
| 565 | class StreamAlreadyConsumed(OpencodeError): |