feat(http-client-python): generate structured JSONL/SSE streaming (Azure flavor) - #11593
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e57edafe-9764-4b99-a1ae-0efd56e8729e
commit: |
|
All changed packages have been documented.
Show changes
|
Summary
Stream[T]/AsyncStream[T]for JSONL (application/jsonl) and SSE (text/event-stream) response streams.streamMetadata/sseMetadatato deserialize JSONL items and dispatch named SSE events to their concrete generated models, including terminal-event handling.Coverage
Notes
This uses the TCGC prerelease containing
sseMetadata. The external Azure mock API streaming test still asserts the previous raw-byte contract and is expected to remain failing until that test is aligned with the type-driven behavior.