Patch Changes
- Updated dependencies [
3999fab...
3999fab...Upgraded @mistralai/mistralai to v2 and now populates response_metadata.model on chat completions, which was missing before.
3999fab...3999fab...Added claude-haiku-4 to the supported tool choice values for the AWS integration.
3999fab...OpenRouter's reasoning content from reasoning-capable models (DeepSeek R1, Minimax M2, Claude extended thinking, o-series) is now surfaced as standard content blocks instead of being silently dropped, allowing consumers to display the model's chain of thought. A new ChatOpenRouterTranslator is registered under the "openrouter" provider key. Fixed CJS default re-exports to be callable and OpenAI streaming of custom tool calls through Responses API chunks.
Reasoning content from OpenRouter models (DeepSeek R1, Minimax M2, Claude extended thinking, o-series) is now surfaced as standard v1 content blocks via ChatOpenRouterTranslator, instead of being silently dropped. Previously only the reasoning_tokens count was preserved; now reasoning text and reasoning_details are available in AIMessage.contentBlocks and additional_kwargs.
Fixed API error handling in streaming responses for the IBM integration.
Fixed tool message outputs not being unwrapped in agent streams, and set name on todoListMiddleware ToolMessages.
Added DeepSeek V4 Flash and V4 Pro model profiles to the DeepSeek integration.
Fixed streaming of custom tool calls through Responses API chunks, and preserved top-level Responses API IDs on AI messages.
Fixed missing stream usage metadata on Gemini API calls. Also removed redundant @types/uuid declarations from package manifests.
229a7ad...Fixed Bedrock tool call identity being lost in callback-streamed chunks.
Added v6 UUID generation support to @langchain/core/utils/uuid by vendoring the upstream uuidjs v6 implementation and its v1ToV6 helper, with tests for deterministic generation, buffer behavior, validation, and ordering. Fixed v1 message casting after implicit streaming aggregation and fakeModel invocation state sharing across bindTools instances.
Removed redundant reasoning_content overrides from deepseek and xai modules. Updated @langchain/openai to 1.4.6.
Patch Changes - Updated dependencies \[ , ]: - @langchain/openai@1.4.6
LangChain · LangChain.jsPatch Changes - Updated dependencies \[ , ]: - @langchain/openai@1.4.7
LangChain · LangChain.js