Skip to content

sdk==0.1.59

Choose a tag to compare

@github-actions github-actions released this 25 Mar 22:14
70b8391

langgraph-sdk 0.1.59

Summary of Changes

  • Added support for custom HTTP headers across all API client methods (PR #4000, PR #4001, PR #4012)
  • Custom headers can now be passed to all client API endpoints, allowing for authentication, tracking, and other custom behaviors

Detailed Changes

HttpClient and SyncHttpClient

  • Added an optional headers parameter to all HTTP methods: get, post, put, patch, delete, and stream (PR #4000)
  • Enhanced header handling to properly merge custom headers with existing request headers (PR #4000)

AssistantsClient and SyncAssistantsClient

  • Added optional headers parameter to all methods for working with assistants (PR #4001, PR #4012)
  • Methods like get, create, update, delete, search, etc. now accept custom headers

ThreadsClient and SyncThreadsClient

  • Added optional headers parameter to all thread-related methods (PR #4001, PR #4012)
  • Methods for thread state management, history, and creation now support custom headers

RunsClient and SyncRunsClient

  • Added optional headers parameter to all run methods (PR #4001, PR #4012)
  • Methods for creating, streaming, waiting for runs, and managing existing runs now support custom headers

CronClient and SyncCronClient

  • Added optional headers parameter to all cron job methods (PR #4001, PR #4012)
  • Methods for creating, searching, and deleting cron jobs now support custom headers

StoreClient and SyncStoreClient

  • Added optional headers parameter to all store operations (PR #4001, PR #4012)
  • Methods for item storage, retrieval, and namespace management now support custom headers