| 575 | |
| 576 | |
| 577 | class MissingStreamClassError(TypeError): |
| 578 | def __init__(self) -> None: |
| 579 | super().__init__( |
| 580 | "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `openai._streaming` for reference", |
| 581 | ) |
| 582 | |
| 583 | |
| 584 | class StreamAlreadyConsumed(OpenAIError): |