Releases
sdk==0.1.34
Compare
Sorry, something went wrong.
No results found
langgraph-sdk 0.1.34
Summary of Changes
Added support for handling missing threads with new if_not_exists parameter in client operations
Added "error" status to thread status options to indicate when exceptions occur during processing
Improved type annotations by using Sequence instead of list for better flexibility in client methods
Detailed Changes
ThreadStatus
Added new "error" status option to indicate when an exception occurred during task processing
IfNotExists
New literal type added with options "create" and "reject" to specify behavior when a thread doesn't exist
When set to "create", a new thread will be created if it doesn't exist
When set to "reject" (default), the operation will raise an error if the thread doesn't exist
Client Methods (stream, create, wait)
Added new if_not_exists parameter to control behavior when referenced threads don't exist
Updated parameter type annotations from list to Sequence for more flexible type handling in:
stream_mode
interrupt_before
interrupt_after
feedback_keys
You can’t perform that action at this time.