News Developer Tools

LangGraph SDK 0.4.12 Removes a Priority Setting and Fixes Streams

LangGraph's Python SDK drops the fairness_weight option from PrioritySettings and now rejoins run streams that close before the run finishes.

LangGraph has released version 0.4.12 of its Python SDK, which removes the fairness_weight option from PrioritySettings and fixes a problem with run streams that close early. The SDK is the toolkit developers use to talk to LangGraph, a framework for building AI agents. LangGraph's GitHub release notes list the changes.

The first change removes fairness_weight from PrioritySettings, the configuration object that holds priority options for runs. Projects that set that field will no longer find it in the SDK.

The second change is a fix for streaming. A run stream is a live feed of updates sent while an agent run is in progress. Previously, a stream could close before the run had finished. The SDK now rejoins the run stream in that case, so the feed continues until the run ends.

The release builds on version 0.4.11 and includes the version bump itself alongside the removal and the fix.

Source: Release langgraph-sdk==0.4.12 · langchain-ai/langgraph · GitHub.