releases.shpreview
Vercel/AI SDK/@ai-sdk/langchain@2.0.198

@ai-sdk/langchain@2.0.198

May 27, 2026AI SDKView original ↗1 fix

Patch Changes

  • 63847a6: fix(langchain): recognize Python AIMessageChunk plain message objects from RemoteGraph streams

    Python langchain-core serializes streaming message chunks with type: "AIMessageChunk", while TypeScript langchain-core uses type: "ai". The toUIMessageStream adapter previously only matched the TypeScript form, silently dropping text deltas and tool-call events when streaming from Python LangGraph servers via RemoteGraph.

Fetched May 27, 2026