Releases
sdk==0.1.31
Compare
Sorry, something went wrong.
No results found
langgraph-sdk 0.1.31
Summary of Changes
Added assistant versioning capabilities with new methods to manage versions (#1665 )
Enhanced checkpoint handling with new Checkpoint type and updated APIs
Added support for including subgraphs in thread state
Added ability to schedule runs in the future with after_seconds parameter
Fixed typo in docstring for join_stream method (#1640 )
Clarified that create_batch is for stateless background runs (#1640 )
Detailed Changes
Assistant Client
Added support for naming assistants with new name parameter in both create and update methods (#1665 )
Added new get_versions method to retrieve version history of an assistant (#1665 )
Added new set_latest method to change the active version of an assistant (#1665 )
Thread Client
Enhanced get_state method with new checkpoint parameter (replacing deprecated checkpoint_id) and added subgraphs parameter
Updated state response structure (changed config to checkpoint)
Removed patch_state method in favor of more comprehensive state management
Updated update_state to use new checkpoint type
Run Client
Added stream_subgraphs parameter to control streaming of subgraph outputs
Added checkpoint parameter to various methods (alongside deprecated checkpoint_id)
Added after_seconds parameter for scheduling future runs
Updated docstring for create_batch to clarify it's for "stateless" background runs (#1640 )
Fixed docstring for join_stream method, which incorrectly referenced join (#1640 )
Schema Updates
Added new Checkpoint type to represent checkpoint information more comprehensively
Restructured the assistant classes:
Created base class AssistantBase with common fields
Added new AssistantVersion class for version history
Updated Assistant class with new name and version fields
Added ThreadTask model to represent tasks within a thread state
Updated ThreadState model to use the new Checkpoint type and added support for tasks
You can’t perform that action at this time.