Undefined tool output serialized as null
ai@7.0.0-beta.181
1 fixThis release1 fixBug fixesAI-tallied from the release notes
Patch Changes
- 6a2caf9: Serialize
undefinedtool output tonullin UI message chunks
Fetched June 18, 2026
ai@7.0.0-beta.181
undefined tool output to null in UI message chunksFetched June 18, 2026
Fixed streaming of custom tool calls through Responses API chunks, and preserved top-level Responses API IDs on AI messages.
LangChain · LangChain.jsError serialization now captures cause, message, and stack properties.
PostHog · PostHog JSFixed handling of partial unicode escapes in fixJson and serialized undefined tool output to null in UI message chunks.
Vercel · AI SDKFixed result promises to reject with when the model stream ends without producing any output, as previously such streams resolved with an e…
Vercel · AI SDK