You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
core: Preserve unknown Agent V1, Listen V1/V2, and Speak V2 WebSocket messages as raw dictionary payloads instead of dropping them; Listen V1/V2 binary frames are now typed. Responses from with_raw_response() expose the underlying httpx.Response as .response. To avoid replaying a request the server may already have applied, httpx.RemoteProtocolError is no longer retried by default; opt in for safe requests with request_options={"retry_remote_protocol_errors": True}. (#826) (3b3679c)
Highlights
Unknown Agent V1, Listen V1/V2, and Speak V2 WebSocket frames now reach applications as raw dictionary payloads when the SDK does not recognize their variant.
with_raw_response() wrappers now expose the underlying httpx.Response through .response.
httpx.RemoteProtocolError retries are opt-in through request_options={"retry_remote_protocol_errors": True} to prevent accidental replay of a request that the server may have already applied.