Content-block streamEvents() on chat models is deprecated, as is streamEvents(..., { version: "v3" }) on agents. streamEvents with version "v2" on chat models is no longer marked deprecated.
LangChain.js
npx @buildinternet/releases get langchain-jsUpdated dependencies []: @langchain/classic@1.0.62
Updated dependencies []: @langchain/google-webauth@2.3.7
Updated dependencies []: @langchain/google-gauth@2.3.7
Updated dependencies [bbf8a1a]: @langchain/openai@1.8.5
Updated dependencies [bbf8a1a]: @langchain/openai@1.8.5
OpenRouter invoke and streamed responses now set normalized_finish_reason in response_metadata, with error mapping to error and unmapped values normalizing to other.
Updated dependencies [bbf8a1a]: @langchain/google-common@2.3.7
Updated dependencies [bbf8a1a]: @langchain/google-common@2.3.7
Updated dependencies [bbf8a1a]: @langchain/openai@1.8.5
Updated dependencies [bbf8a1a]: @langchain/openai@1.8.5
Updated dependencies [bbf8a1a]: @langchain/openai@1.8.5
Chat Completions invoke and streamed results now set finish_reason and normalized_finish_reason in response_metadata, with unmapped values normalizing to other.
Chat Completions and Responses API results now set normalized_finish_reason in response_metadata, mapping refusals and forced tool calls that end in stop to refusal or tool_call. Responses message-finish events carry the same fields.
ChatOllama now sets finish_reason and normalized_finish_reason in response_metadata on invoke and streamed results, and emits them on the message-finish event. Unmapped values normalize to other.
invoke and streamed results now set finish_reason and normalized_finish_reason in response_metadata, with model_length normalizing to length and unmapped values to other.
Invoke and streamed results now set normalized_finish_reason in response_metadata, with error mapped to error and unmapped values normalized to other.
Responses from the Groq integration now set normalized_finish_reason in response_metadata on invoke and streamed results, with unmapped values normalizing to other.
Google GenAI responses now set finish_reason and normalized_finish_reason in response_metadata on invoke and streamed results, and emit them on message-finish. Blocking reasons normalize to refusal while malformed output normalizes to error.
Google chat model responses now set normalized_finish_reason in response_metadata on invoke and streamed results, and emit it on message-finish. SAFETY, PROHIBITED_CONTENT and BLOCKLIST normalize to refusal, while MALFORMED_FUNCTION_CALL and MALFORMED_RESPONSE map to error.

