Skip to content

sdk==0.1.42

Choose a tag to compare

@github-actions github-actions released this 03 Dec 21:36
7a80d6c

langgraph-sdk 0.1.42

Summary of Changes

  • Removed dependency on httpx_sse in favor of a custom SSE implementation (PR #2612)
  • Added ability to filter runs by status when listing them (PR #2612)
  • Added option to cancel a run when disconnecting from a stream (PR #2612)
  • Added support for commands in assistant APIs (PR #2612)
  • Added improved support for interrupts (PR #2612)

Detailed Changes

Client API

  • Removed dependency on httpx_sse and implemented a custom SSE handler for more robust streaming
  • Updated both synchronous and asynchronous stream implementations to use the new SSE decoder

RunsAPI

  • Added status parameter to list method to filter runs by their execution status
  • Added cancel_on_disconnect parameter to join_stream method to control whether a run should be canceled when the client disconnects from the stream

Assistant API

  • Added command parameter to stream, create, and wait methods allowing more control over assistant execution

Schema

  • Added Interrupt type definition for better interrupt handling
  • Updated Thread type to include interrupts information in the schema