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
Added new options for run lifecycle management: on_disconnect to control behavior when clients disconnect, and on_completion to determine resource cleanup behavior
Added a new streaming method join_stream to receive real-time output from existing runs
Detailed Changes
Client API
Added new parameters to stream() method: on_disconnect to specify behavior when client disconnects (can be "cancel" or "continue") and on_completion to control resource cleanup after completion
Added on_completion parameter to create() method to control resource cleanup after run completion (can be "delete" or "keep")
Added on_disconnect and on_completion parameters to wait() method for consistent behavior control
Added new join_stream() method to stream output from an existing run in real-time without buffering previous output
Type Definitions
Added DisconnectMode type with options "cancel" or "continue" to specify behavior when clients disconnect
Added OnCompletionBehavior type with options "delete" or "keep" to control resource cleanup behavior after completion