Skip to content

v0.18.0

Choose a tag to compare

@Albert-Gao Albert-Gao released this 10 Oct 23:00
12d42fb

Add turn_id to ChatStream and AsyncChatStream. It holds the running Turn ID from the X-BA-Turn-Id header that create, resume, and approval continue responses return, so sessions.stop() no longer needs a sessions.inputs() read first. The SDK raises StreamError when the header is missing or malformed, so upgrade alongside the platform build that sends it.