Skip to content

sdk==0.1.55

Choose a tag to compare

@github-actions github-actions released this 06 Mar 23:33
d865024

langgraph-sdk 0.1.55

Summary of Changes

  • Added support for TTL (time-to-live) for items in the store API (#3728)
  • Fixed JSON deserialization when handling empty response bodies (#3681)
  • Restructured Assistant schema with name field moved to base class (#3702)
  • Fixed incorrect docstring examples in runs.list methods (#3646)

Detailed Changes

Store API

  • Added TTL support for items in the store (#3728):
    • Added ttl parameter to put_item method to set expiration time for items in minutes
    • Added refresh_ttl parameter to get_item method to control whether TTL is refreshed on read operations
    • Added refresh_ttl parameter to search_items method to control whether TTL is refreshed for items returned by search

Assistant schema

  • Reorganized Assistant schema structure (#3702):
    • Moved name field from Assistant class to AssistantBase class
    • Updated docstring for get_versions to accurately reflect that it returns a list of AssistantVersion objects

Client

  • Fixed JSON deserialization function to properly handle empty responses (#3681)
  • Fixed incorrect docstrings in both sync and async versions of runs.list method that incorrectly referenced delete operation instead of list (#3646)