Skip to content

0.2.41

Choose a tag to compare

@github-actions github-actions released this 31 Oct 01:58
d6d6ab9

langgraph 0.2.41

Summary of Changes

  • Improved namespace handling in remote graphs by using the NS_SEP constant instead of hardcoded separators (#2250)
  • Enhanced tool handling in prebuilt components by using get_all_basemodel_annotations and removing unnecessary type casts (#2236)
  • Updated langchain-core dependency requirements to exclude specific problematic versions (#2253)

Detailed Changes

langgraph.pregel.remote.RemoteGraph

  • Fixed namespace handling in stream and astream methods by using the consistent NS_SEP constant instead of hardcoded | character, ensuring proper parsing of namespace strings (#2250)
  • Added proper type cast for checkpoint configurations to fix type issues (#2236)

Prebuilt Tools Components

  • Improved tool initialization by using get_all_basemodel_annotations from langchain-core to properly get annotations from tools (#2236)
  • Removed unnecessary cast operations when creating tools, making the code cleaner and more maintainable (#2236)