ReferenceAvailable
AiStream
A cancellable event iterator and context manager. Use ``with ... as stream`` when iteration may end early. ``cancel()`` asks Telion to interrupt generation; ``get_final_response()`` drains the stream.
Reference
| Field | Value | Description |
|---|---|---|
| symbol | telion_api.AiStream | — |
| module | telion_api.ai | — |
| constructor | (transport: 'Any', request: 'Mapping[str, Any]') -> 'None' | — |
A cancellable event iterator and context manager. Use with ... as stream when iteration may end early. cancel() asks Telion to interrupt generation; get_final_response() drains the stream.
Contract
| Property | Value |
|---|---|
| symbol | telion_api.AiStream |
| module | telion_api.ai |
| constructor | (transport: 'Any', request: 'Mapping[str, Any]') -> 'None' |