Bumps the langchain group with 8 updates: | Package | From | To | | --- | --- | --- | | [@langchain/anthropic](https://github.com/langchain-ai/langchainjs) | `1.4.0` | `1.5.1` | | [langchain](https://github.com/langchain-ai/langchainjs) | `1.4.4` | `1.5.2` | | [@langchain/openai](https://github.com/langchain-ai/langchainjs) | `1.4.7` | `1.5.3` | | [@langchain/groq](https://github.com/langchain-ai/langchainjs) | `1.2.1` | `1.3.1` | | [@langchain/mistralai](https://github.com/langchain-ai/langchainjs) | `1.1.0` | `1.2.0` | | [@langchain/ollama](https://github.com/langchain-ai/langchainjs) | `1.2.7` | `1.3.0` | | [@langchain/classic](https://github.com/langchain-ai/langchainjs) | `1.0.34` | `1.0.38` | | [langsmith](https://github.com/langchain-ai/langsmith-sdk) | `0.7.4` | `0.7.14` | Updates `@langchain/anthropic` from 1.4.0 to 1.5.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/anthropic's releases</a>.</em></p> <blockquote> <h2><code>@langchain/anthropic</code><a href="https://github.com/1"><code>@1</code></a>.5.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11073">#11073</a> <a href="https://github.com/langchain-ai/langchainjs/commit/baa57ba7cdce2046ba3dd40e9e8cf3c93c9c1ac4"><code>baa57ba</code></a> Thanks <a href="https://github.com/archievi"><code>@archievi</code></a>! - Stop sending <code>thinking: { type: "disabled" }</code> on <code>ChatAnthropic</code> requests when the user never configured thinking. The disabled value is now only emitted when it is explicitly set, so adaptive-only models (e.g. <code>claude-fable-5</code>) that reject an explicit <code>thinking.type: "disabled"</code> no longer fail with a 400 on a default <code>ChatAnthropic</code> instance.</li> </ul> <h2><code>@langchain/anthropic</code><a href="https://github.com/1"><code>@1</code></a>.5.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10924">#10924</a> <a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - feat(anthropic): update native streamEvents event coverage</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/1ee0df0c49335104968f6c5130dbdb7e777f85d7"><code>1ee0df0</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11097">#11097</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f01770895c06621b469a6c6b5244747f6efdfbf7"><code>f017708</code></a> fix(core): better 429 error handling (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10674">#10674</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c"><code>05936ab</code></a> fix(openai): omit empty reasoning item id in Responses API input (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11045">#11045</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099"><code>798cb70</code></a> fix(openai): route standard url file blocks to native input_file in Responses...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909"><code>80c790b</code></a> fix(openai): stream built-in tool progress events (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11090">#11090</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d2e6afcf17b269aa11a2f18444c208bc8a4b2520"><code>d2e6afc</code></a> fix(groq): require <code>@langchain/core</code> >= 1.1.30 in peer dependency (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11072">#11072</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c66870ea8ebf9e3b0794ab8d969b25dfb189f2de"><code>c66870e</code></a> feat(weaviate): add X-Weaviate-Client-Integration telemetry header (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11088">#11088</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/baa57ba7cdce2046ba3dd40e9e8cf3c93c9c1ac4"><code>baa57ba</code></a> fix(anthropic): omit default disabled thinking from requests (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11073">#11073</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/04edb8d0fa3c408adbc6e4c277d1f3aaf5b40161"><code>04edb8d</code></a> docs(ibm): fix "Recieved" typo in tool_choice error message (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11066">#11066</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/2b7f368c2baa3f2916a207bf099a437adce2179c"><code>2b7f368</code></a> chore(deps): bump uuid from 14.0.0 to 14.0.1 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11094">#11094</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/anthropic@1.4.0...@langchain/anthropic@1.5.1">compare view</a></li> </ul> </details> <br /> Updates `langchain` from 1.4.4 to 1.5.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">langchain's releases</a>.</em></p> <blockquote> <h2>langchain@1.5.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11100">#11100</a> <a href="https://github.com/langchain-ai/langchainjs/commit/3205b35ac83037a2fff2998f16a66b5126b306f8"><code>3205b35</code></a> Thanks <a href="https://github.com/colifran"><code>@colifran</code></a>! - fix(langchain, openai): decouple strict tools from strict structured output response</li> </ul> <h2>langchain@1.5.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11087">#11087</a> <a href="https://github.com/langchain-ai/langchainjs/commit/534b43a0719c89e3fb4ab7052d3f39797660aa43"><code>534b43a</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - fix(langchain): keep tool call streams pending across any tool interrupt</p> <p>A raw <code>interrupt()</code> raised from inside a tool surfaced as a <code>tool-error</code> and rejected the call's un-awaited <code>output</code> promise, producing an unhandled rejection that crashed HITL runs. The tool-call stream transformer now treats any serialized graph interrupt as control flow (the call stays pending and resumes), not just <code>humanInTheLoopMiddleware</code> interrupts.</p> </li> </ul> <h2>langchain@1.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11062">#11062</a> <a href="https://github.com/langchain-ai/langchainjs/commit/3ebd10ae381ef7c9e12759f08d2f2b745bdfae62"><code>3ebd10a</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - feat(langchain): surface tool-dispatched subagents on <code>run.subagents</code></p> <p>Add a native subagent stream transformer to <code>createAgent</code> so v3 runs expose named nested agents (<code>createAgent({ name })</code> invoked from tools) as typed <code>SubagentRunStream</code> handles with <code>name</code>, <code>cause</code>, scoped <code>messages</code> / <code>toolCalls</code>, and <code>output</code>. Refactors agent stream transformers into <code>agents/transformers/</code> and exports only the public stream types from the package entry.</p> </li> </ul> <h2>langchain@1.4.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11012">#11012</a> <a href="https://github.com/langchain-ai/langchainjs/commit/4aeaa767a48dcc5451371f14adf4a06f064d23b9"><code>4aeaa76</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - feat(langchain): add <code>when</code> predicate to human-in-the-loop middleware</p> <p>Add an optional <code>when</code> callback on <code>InterruptOnConfig</code> so callers can dynamically skip interrupts for specific tool calls. The predicate receives a <code>ToolCallRequest</code> (batch <code>afterModel</code> context) and returns whether to interrupt or auto-approve, matching Python <code>HumanInTheLoopMiddleware</code>.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11080">#11080</a> <a href="https://github.com/langchain-ai/langchainjs/commit/e51478a4436d69a21f75f1c9e0bb84f3abb6d6f5"><code>e51478a</code></a> Thanks <a href="https://github.com/aolsenjazz"><code>@aolsenjazz</code></a>! - feat(aws): bedrock prompt caching middleware</p> <p>Adds bedrockPromptCachingMiddleware. The interface largely matches what was previous implemented with anthropicPromptCachingMiddleware, making a best-effort attempt at utilizing prompt caching features for supported models.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f1d64ff8d6076fb6656c1f327b7b58eac520314b"><code>f1d64ff</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11101">#11101</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/72ffc4bf17dc6dca390546c0e6c9503607198f26"><code>72ffc4b</code></a> fix(aws): add Bedrock stream idle timeout (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11098">#11098</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/3205b35ac83037a2fff2998f16a66b5126b306f8"><code>3205b35</code></a> fix(langchain, openai): decouple strict tools from strict structured output r...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/1ee0df0c49335104968f6c5130dbdb7e777f85d7"><code>1ee0df0</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11097">#11097</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f01770895c06621b469a6c6b5244747f6efdfbf7"><code>f017708</code></a> fix(core): better 429 error handling (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10674">#10674</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c"><code>05936ab</code></a> fix(openai): omit empty reasoning item id in Responses API input (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11045">#11045</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099"><code>798cb70</code></a> fix(openai): route standard url file blocks to native input_file in Responses...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909"><code>80c790b</code></a> fix(openai): stream built-in tool progress events (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11090">#11090</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d2e6afcf17b269aa11a2f18444c208bc8a4b2520"><code>d2e6afc</code></a> fix(groq): require <code>@langchain/core</code> >= 1.1.30 in peer dependency (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11072">#11072</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c66870ea8ebf9e3b0794ab8d969b25dfb189f2de"><code>c66870e</code></a> feat(weaviate): add X-Weaviate-Client-Integration telemetry header (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11088">#11088</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/openai@1.4.4...langchain@1.5.2">compare view</a></li> </ul> </details> <br /> Updates `@langchain/openai` from 1.4.7 to 1.5.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/openai's releases</a>.</em></p> <blockquote> <h2><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11100">#11100</a> <a href="https://github.com/langchain-ai/langchainjs/commit/3205b35ac83037a2fff2998f16a66b5126b306f8"><code>3205b35</code></a> Thanks <a href="https://github.com/colifran"><code>@colifran</code></a>! - fix(langchain, openai): decouple strict tools from strict structured output response</li> </ul> <h2><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11045">#11045</a> <a href="https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c"><code>05936ab</code></a> Thanks <a href="https://github.com/jackjin1997"><code>@jackjin1997</code></a>! - fix(openai): omit empty id and content on reasoning items in Responses API input</p> <p>Reasoning blocks reassembled from streaming chunks (e.g. via <code>streamEvents</code>) never carry an id, since OpenAI's streaming protocol only includes it in non-streaming responses. When such a message was replayed as Responses API input on the next turn, the reasoning item was emitted with <code>id: ""</code>, which OpenAI rejects with <code>400 Invalid 'input[n].id': ''</code>. The <code>id</code> field is now omitted when absent.</p> <p>A second error surfaced immediately after that fix: the same converter set a populated <code>content</code> array on the reasoning input item, which the Responses API also rejects (<code>400 Invalid 'input[n].content': array too long. Expected an array with maximum length 0</code>). Reasoning input items only carry <code>summary</code>, so <code>content</code> is no longer forwarded. Thanks to <a href="https://github.com/csrujanreddy"><code>@csrujanreddy</code></a> for catching the second issue and verifying both fixes against the live API.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11065">#11065</a> <a href="https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099"><code>798cb70</code></a> Thanks <a href="https://github.com/rxits"><code>@rxits</code></a>! - fix(openai): route standard url file blocks to native input_file in Responses API</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11090">#11090</a> <a href="https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909"><code>80c790b</code></a> Thanks <a href="https://github.com/nikhilpakhloo"><code>@nikhilpakhloo</code></a>! - fix(openai): stream built-in tool progress events</p> </li> </ul> <h2><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11001">#11001</a> <a href="https://github.com/langchain-ai/langchainjs/commit/80b43ecffe0701c3c375c407fb601cb452f708ef"><code>80b43ec</code></a> Thanks <a href="https://github.com/Herrtian"><code>@Herrtian</code></a>! - Wrap Responses API stream iteration errors with existing OpenAI client error handling.</li> </ul> <h2><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10924">#10924</a> <a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - feat(openai): add native streamEvents event converters</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f1d64ff8d6076fb6656c1f327b7b58eac520314b"><code>f1d64ff</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11101">#11101</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/72ffc4bf17dc6dca390546c0e6c9503607198f26"><code>72ffc4b</code></a> fix(aws): add Bedrock stream idle timeout (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11098">#11098</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/3205b35ac83037a2fff2998f16a66b5126b306f8"><code>3205b35</code></a> fix(langchain, openai): decouple strict tools from strict structured output r...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/1ee0df0c49335104968f6c5130dbdb7e777f85d7"><code>1ee0df0</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11097">#11097</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f01770895c06621b469a6c6b5244747f6efdfbf7"><code>f017708</code></a> fix(core): better 429 error handling (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10674">#10674</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c"><code>05936ab</code></a> fix(openai): omit empty reasoning item id in Responses API input (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11045">#11045</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099"><code>798cb70</code></a> fix(openai): route standard url file blocks to native input_file in Responses...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909"><code>80c790b</code></a> fix(openai): stream built-in tool progress events (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11090">#11090</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d2e6afcf17b269aa11a2f18444c208bc8a4b2520"><code>d2e6afc</code></a> fix(groq): require <code>@langchain/core</code> >= 1.1.30 in peer dependency (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11072">#11072</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c66870ea8ebf9e3b0794ab8d969b25dfb189f2de"><code>c66870e</code></a> feat(weaviate): add X-Weaviate-Client-Integration telemetry header (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11088">#11088</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/openai@1.4.7...@langchain/openai@1.5.3">compare view</a></li> </ul> </details> <br /> Updates `@langchain/groq` from 1.2.1 to 1.3.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/groq's releases</a>.</em></p> <blockquote> <h2><code>@langchain/groq</code><a href="https://github.com/1"><code>@1</code></a>.3.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11072">#11072</a> <a href="https://github.com/langchain-ai/langchainjs/commit/d2e6afcf17b269aa11a2f18444c208bc8a4b2520"><code>d2e6afc</code></a> Thanks <a href="https://github.com/atimothee"><code>@atimothee</code></a>! - fix(groq): require <code>@langchain/core</code> >= 1.1.30 in peer dependency</p> <p>The package imports <code>@langchain/core/utils/standard_schema</code> and <code>@langchain/core/language_models/structured_output</code>, both of which were introduced in <code>@langchain/core@1.1.30</code>. The previous <code>^1.0.0</code> peer dependency range allowed installing incompatible older versions and caused module-resolution failures at build/runtime.</p> </li> </ul> <h2><code>@langchain/groq</code><a href="https://github.com/1"><code>@1</code></a>.3.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10924">#10924</a> <a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - feat(groq): add native OpenAI-compatible streamEvents events</li> </ul> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11069">#11069</a> <a href="https://github.com/langchain-ai/langchainjs/commit/7d61f5f19861643bd39eda333628e59783c75fa9"><code>7d61f5f</code></a> Thanks <a href="https://github.com/brandonhawi"><code>@brandonhawi</code></a>! - Tighten the <code>@langchain/core</code> peer dependency to <code>^1.1.30</code>, the version that introduced the <code>utils/standard_schema</code> and <code>language_models/structured_output</code> export subpaths imported by <code>ChatGroq</code>. The previous <code>^1.0.0</code> range allowed core versions below 1.1.30 that lack these exports, causing module-not-found build failures.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/1ee0df0c49335104968f6c5130dbdb7e777f85d7"><code>1ee0df0</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11097">#11097</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f01770895c06621b469a6c6b5244747f6efdfbf7"><code>f017708</code></a> fix(core): better 429 error handling (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10674">#10674</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c"><code>05936ab</code></a> fix(openai): omit empty reasoning item id in Responses API input (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11045">#11045</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099"><code>798cb70</code></a> fix(openai): route standard url file blocks to native input_file in Responses...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909"><code>80c790b</code></a> fix(openai): stream built-in tool progress events (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11090">#11090</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d2e6afcf17b269aa11a2f18444c208bc8a4b2520"><code>d2e6afc</code></a> fix(groq): require <code>@langchain/core</code> >= 1.1.30 in peer dependency (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11072">#11072</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c66870ea8ebf9e3b0794ab8d969b25dfb189f2de"><code>c66870e</code></a> feat(weaviate): add X-Weaviate-Client-Integration telemetry header (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11088">#11088</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/baa57ba7cdce2046ba3dd40e9e8cf3c93c9c1ac4"><code>baa57ba</code></a> fix(anthropic): omit default disabled thinking from requests (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11073">#11073</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/04edb8d0fa3c408adbc6e4c277d1f3aaf5b40161"><code>04edb8d</code></a> docs(ibm): fix "Recieved" typo in tool_choice error message (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11066">#11066</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/2b7f368c2baa3f2916a207bf099a437adce2179c"><code>2b7f368</code></a> chore(deps): bump uuid from 14.0.0 to 14.0.1 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11094">#11094</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/groq@1.2.1...@langchain/groq@1.3.1">compare view</a></li> </ul> </details> <br /> Updates `@langchain/mistralai` from 1.1.0 to 1.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/mistralai's releases</a>.</em></p> <blockquote> <h2><code>@langchain/mistralai</code><a href="https://github.com/1"><code>@1</code></a>.2.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10924">#10924</a> <a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - feat(mistralai): add native streamEvents event conversion</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c5e896270207fcd3bdf1d1877e80b94c72d35f1e"><code>c5e8962</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11059">#11059</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/e51478a4436d69a21f75f1c9e0bb84f3abb6d6f5"><code>e51478a</code></a> feat(aws): bedrock prompt caching middleware (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11080">#11080</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/7d61f5f19861643bd39eda333628e59783c75fa9"><code>7d61f5f</code></a> fix(groq): tighten <code>@langchain/core</code> peer dependency to ^1.1.30 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11069">#11069</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a> feat(deps): native streamEvents ChatModelStreamEvent protocol (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10924">#10924</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/6d212ef91affd19b71dac22fd3761287a96108bf"><code>6d212ef</code></a> docs(tavily): fix "refering" typo in tool description (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11067">#11067</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/a001816b56a0f19326d1e3e5ccbea5ae90dd549f"><code>a001816</code></a> chore(deps): bump esbuild from 0.28.0 to 0.28.1 in /environment_tests/test-ex...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/234c8bbb97444357847de5751d81ee9c51a7d33f"><code>234c8bb</code></a> ci(infra): pin GitHub Actions to full-length commit SHAs (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11061">#11061</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/4aeaa767a48dcc5451371f14adf4a06f064d23b9"><code>4aeaa76</code></a> feat(langchain): add <code>when</code> predicate to human-in-the-loop middleware (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11012">#11012</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/ac0f71d03994664cfee98e71a584d4aa3321746f"><code>ac0f71d</code></a> fix(core): preserve AIMessage content blocks (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11047">#11047</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/39f338e08e6abfd9e1d02157b2e8b3c9768a673c"><code>39f338e</code></a> chore: remove deprecated <code>@langchain/google-cloud-sql-pg</code> package (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11060">#11060</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/mistralai@1.1.0...@langchain/mistralai@1.2.0">compare view</a></li> </ul> </details> <br /> Updates `@langchain/ollama` from 1.2.7 to 1.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/ollama's releases</a>.</em></p> <blockquote> <h2><code>@langchain/ollama</code><a href="https://github.com/1"><code>@1</code></a>.3.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10924">#10924</a> <a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - feat(ollama): add native streamEvents event conversion</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c5e896270207fcd3bdf1d1877e80b94c72d35f1e"><code>c5e8962</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11059">#11059</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/e51478a4436d69a21f75f1c9e0bb84f3abb6d6f5"><code>e51478a</code></a> feat(aws): bedrock prompt caching middleware (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11080">#11080</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/7d61f5f19861643bd39eda333628e59783c75fa9"><code>7d61f5f</code></a> fix(groq): tighten <code>@langchain/core</code> peer dependency to ^1.1.30 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11069">#11069</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a> feat(deps): native streamEvents ChatModelStreamEvent protocol (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10924">#10924</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/6d212ef91affd19b71dac22fd3761287a96108bf"><code>6d212ef</code></a> docs(tavily): fix "refering" typo in tool description (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11067">#11067</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/a001816b56a0f19326d1e3e5ccbea5ae90dd549f"><code>a001816</code></a> chore(deps): bump esbuild from 0.28.0 to 0.28.1 in /environment_tests/test-ex...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/234c8bbb97444357847de5751d81ee9c51a7d33f"><code>234c8bb</code></a> ci(infra): pin GitHub Actions to full-length commit SHAs (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11061">#11061</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/4aeaa767a48dcc5451371f14adf4a06f064d23b9"><code>4aeaa76</code></a> feat(langchain): add <code>when</code> predicate to human-in-the-loop middleware (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11012">#11012</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/ac0f71d03994664cfee98e71a584d4aa3321746f"><code>ac0f71d</code></a> fix(core): preserve AIMessage content blocks (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11047">#11047</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/39f338e08e6abfd9e1d02157b2e8b3c9768a673c"><code>39f338e</code></a> chore: remove deprecated <code>@langchain/google-cloud-sql-pg</code> package (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11060">#11060</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/langchain@1.2.7...@langchain/ollama@1.3.0">compare view</a></li> </ul> </details> <br /> Updates `@langchain/classic` from 1.0.34 to 1.0.38 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/classic's releases</a>.</em></p> <blockquote> <h2><code>@langchain/classic</code><a href="https://github.com/1"><code>@1</code></a>.0.38</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/3205b35ac83037a2fff2998f16a66b5126b306f8"><code>3205b35</code></a>]: <ul> <li><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.3</li> </ul> </li> </ul> <h2><code>@langchain/classic</code><a href="https://github.com/1"><code>@1</code></a>.0.37</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c"><code>05936ab</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099"><code>798cb70</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909"><code>80c790b</code></a>]: <ul> <li><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.2</li> </ul> </li> </ul> <h2><code>@langchain/classic</code><a href="https://github.com/1"><code>@1</code></a>.0.36</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/80b43ecffe0701c3c375c407fb601cb452f708ef"><code>80b43ec</code></a>]: <ul> <li><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.1</li> </ul> </li> </ul> <h2><code>@langchain/classic</code><a href="https://github.com/1"><code>@1</code></a>.0.35</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/2e2811509d75af94f57cedcc3842f178f4c020d1"><code>2e28115</code></a>]: <ul> <li><code>@langchain/openai</code><a href="https://github.com/1"><code>@1</code></a>.5.0</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f1d64ff8d6076fb6656c1f327b7b58eac520314b"><code>f1d64ff</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11101">#11101</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/72ffc4bf17dc6dca390546c0e6c9503607198f26"><code>72ffc4b</code></a> fix(aws): add Bedrock stream idle timeout (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11098">#11098</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/3205b35ac83037a2fff2998f16a66b5126b306f8"><code>3205b35</code></a> fix(langchain, openai): decouple strict tools from strict structured output r...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/1ee0df0c49335104968f6c5130dbdb7e777f85d7"><code>1ee0df0</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11097">#11097</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f01770895c06621b469a6c6b5244747f6efdfbf7"><code>f017708</code></a> fix(core): better 429 error handling (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10674">#10674</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c"><code>05936ab</code></a> fix(openai): omit empty reasoning item id in Responses API input (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11045">#11045</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099"><code>798cb70</code></a> fix(openai): route standard url file blocks to native input_file in Responses...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909"><code>80c790b</code></a> fix(openai): stream built-in tool progress events (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11090">#11090</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d2e6afcf17b269aa11a2f18444c208bc8a4b2520"><code>d2e6afc</code></a> fix(groq): require <code>@langchain/core</code> >= 1.1.30 in peer dependency (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11072">#11072</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c66870ea8ebf9e3b0794ab8d969b25dfb189f2de"><code>c66870e</code></a> feat(weaviate): add X-Weaviate-Client-Integration telemetry header (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11088">#11088</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/classic@1.0.34...@langchain/classic@1.0.38">compare view</a></li> </ul> </details> <br /> Updates `langsmith` from 0.7.4 to 0.7.14 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langsmith-sdk/releases">langsmith's releases</a>.</em></p> <blockquote> <h2>v0.7.14</h2> <h2>What's Changed</h2> <ul> <li>fix: sum Anthropic cache tokens into input_tokens for correct cost calculation by <a href="https://github.com/QuentinBrosse"><code>@QuentinBrosse</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2519">langchain-ai/langsmith-sdk#2519</a></li> <li>chore(py): Bump version: 0.7.13 → 0.7.14 by <a href="https://github.com/jacoblee93"><code>@jacoblee93</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2535">langchain-ai/langsmith-sdk#2535</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.13...v0.7.14">https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.13...v0.7.14</a></p> <h2>v0.7.13</h2> <h2>What's Changed</h2> <ul> <li>fix: initialize otel exporter before background thread by <a href="https://github.com/ericdong-langchain"><code>@ericdong-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2526">langchain-ai/langsmith-sdk#2526</a></li> <li>fix: convert non primitive types to JSON strings by <a href="https://github.com/ericdong-langchain"><code>@ericdong-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2527">langchain-ai/langsmith-sdk#2527</a></li> <li>fix: missing await by <a href="https://github.com/ericdong-langchain"><code>@ericdong-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2528">langchain-ai/langsmith-sdk#2528</a></li> <li>fix: bump minimatch to resolve CVE-2026-27903 by <a href="https://github.com/jkennedyvz"><code>@jkennedyvz</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2502">langchain-ai/langsmith-sdk#2502</a></li> <li>feat(py): add experiment-level metadata to pytest integration by <a href="https://github.com/baskaryan"><code>@baskaryan</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2524">langchain-ai/langsmith-sdk#2524</a></li> <li>Bump version: 0.7.12 → 0.7.13 by <a href="https://github.com/baskaryan"><code>@baskaryan</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2531">langchain-ai/langsmith-sdk#2531</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.12...v0.7.13">https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.12...v0.7.13</a></p> <h2>v0.7.12</h2> <h2>What's Changed</h2> <ul> <li>fix: sample before transform in ingest by <a href="https://github.com/ericdong-langchain"><code>@ericdong-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2488">langchain-ai/langsmith-sdk#2488</a></li> <li>chore: bump version by <a href="https://github.com/ericdong-langchain"><code>@ericdong-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2521">langchain-ai/langsmith-sdk#2521</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.11...v0.7.12">https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.11...v0.7.12</a></p> <h2>v0.7.11</h2> <h2>What's Changed</h2> <ul> <li>add get insights reports with runs by <a href="https://github.com/Palashio"><code>@Palashio</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2517">langchain-ai/langsmith-sdk#2517</a></li> <li>bump version for insights sdk changes by <a href="https://github.com/Palashio"><code>@Palashio</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2520">langchain-ai/langsmith-sdk#2520</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Palashio"><code>@Palashio</code></a> made their first contribution in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2517">langchain-ai/langsmith-sdk#2517</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.10...v0.7.11">https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.10...v0.7.11</a></p> <h2>v0.7.10</h2> <h2>What's Changed</h2> <ul> <li>chore(deps-dev): bump the js-minor-and-patch group across 1 directory with 9 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2490">langchain-ai/langsmith-sdk#2490</a></li> <li>fix: update deprecated model and re-record VCR cassettes by <a href="https://github.com/jkennedyvz"><code>@jkennedyvz</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2503">langchain-ai/langsmith-sdk#2503</a></li> <li>chore(deps): bump minimatch from 3.1.2 to 3.1.5 in /js/internal/environment_tests/test-exports-metro in the npm_and_yarn group across 1 directory by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2489">langchain-ai/langsmith-sdk#2489</a></li> <li>fix: memory leak in _cached_attachment_args when tracing closures by <a href="https://github.com/angus-langchain"><code>@angus-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2515">langchain-ai/langsmith-sdk#2515</a></li> <li>Bump version: 0.7.9 → 0.7.10 by <a href="https://github.com/angus-langchain"><code>@angus-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2516">langchain-ai/langsmith-sdk#2516</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.9...v0.7.10">https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.9...v0.7.10</a></p> <h2>v0.7.9</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/f099beb36228b2ce008e56262ab6a5846d2dbdd1"><code>f099beb</code></a> chore(py): Bump version: 0.7.13 → 0.7.14 (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2535">#2535</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/27f1b8312c39b7acda31ac9a850fd74fb99a4e29"><code>27f1b83</code></a> fix: sum Anthropic cache tokens into input_tokens for correct cost calculatio...</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/22c21bff7d1e429d0dfa7800adf95ef971ef2458"><code>22c21bf</code></a> Bump version: 0.7.12 → 0.7.13 (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2531">#2531</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/5d17205b854377bf1c8c59f2c40923c295e2c127"><code>5d17205</code></a> feat(py): add experiment-level metadata to pytest integration (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2524">#2524</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/1412ad4bfe5294e5d6407962162b2fbfcd75202d"><code>1412ad4</code></a> fix: bump minimatch to resolve CVE-2026-27903 (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2502">#2502</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/da0d6e3f137ff375d787c4ba773c8b8d7832d0d8"><code>da0d6e3</code></a> fix: missing await (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2528">#2528</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/9f587d5f45ead3f19a61bd12743827fd84541657"><code>9f587d5</code></a> fix: convert non primitive types to JSON strings (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2527">#2527</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/0efa7fb188a451857790d0066edd5e5cf28dca2f"><code>0efa7fb</code></a> fix: initialize otel exporter before background thread (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2526">#2526</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/51d4e0b867cab82fa95468099e6b2ec3fbb21644"><code>51d4e0b</code></a> chore: bump version (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2521">#2521</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/f8db5d1542703c388ccf7d506cbdbff5786c9d6f"><code>f8db5d1</code></a> fix: sample before transform in ingest (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2488">#2488</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.4...v0.7.14">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
In-Process Streaming Examples
Runnable examples demonstrating graph.streamEvents(..., { version: "v3" }) — the ergonomic in-process
streaming API for LangGraph.
Setup
# From the monorepo root
pnpm install
# Set your API key
export ANTHROPIC_API_KEY=sk-...
Examples
Each example is a self-contained script that can be run with npx tsx.
basic.ts — Protocol event iteration
The simplest starting point. Iterates all ProtocolEvent objects from a tool-calling
graph and awaits the final output.
npx tsx src/basic.ts
Shows: for await (const event of run), await run.output
messages.ts — Streaming text tokens
Demonstrates the .messages projection. Each yielded ChatModelStream exposes
.text as both an AsyncIterable<string> (for token-by-token streaming) and a
PromiseLike<string> (for the full text). Also shows .usage for token counts.
npx tsx src/messages.ts
Shows: run.messages, message.text, message.usage
subgraphs.ts — Recursive subgraph observation
A research pipeline with two sequential subgraphs (researcher → analyst). Shows three ways to observe the subgraph tree:
- Flat event stream — all events, dispatched by
event.method - Subgraph discovery —
run.subgraphsyieldsSubgraphRunStreamper child - Concurrent consumption — messages and subgraphs consumed in parallel
npx tsx src/subgraphs.ts
Shows: run.subgraphs, sub.messages, sub.name, sub.index, recursive walking
custom-reducer.ts — Domain-specific projections
Extends streamEvents(..., { version: "v3" }) with a custom StreamTransformer that counts tool calls and
tracks token usage. The transformer is passed via the transformers option; its
projections appear on run.extensions.
npx tsx src/custom-reducer.ts
Shows: StreamTransformer, graph.streamEvents(input, { version: "v3", transformers: [...] }), run.extensions
parallel.ts — Concurrent projection consumption
All projections on GraphRunStream share local stream channels, so
multiple for await loops can run concurrently without interference. This
example streams messages, counts state snapshots, and counts raw protocol
events in parallel via Promise.all.
npx tsx src/parallel.ts
Shows: Promise.all([run.messages, run.values, run]), independent cursors
human-in-the-loop.ts — Interrupt, inspect, resume
Demonstrates the streamEvents(..., { version: "v3" }) interrupt/resume lifecycle using a planner →
approval → executor graph. Turn 1 runs until interrupt() is called; the
example inspects run.interrupted and run.interrupts, then resumes with
Command({ resume }) in turn 2.
npx tsx src/human-in-the-loop.ts
Shows: interrupt(), run.interrupted, run.interrupts, Command({ resume }), multi-turn streamEvents(..., { version: "v3" })
a2a.ts — A2A protocol over a deployed server
End-to-end deployment example for custom stream transformers. The research
pipeline is compiled with an A2A transformer (createA2ATransformer) that emits
A2A-formatted status updates and artifacts. The graph is deployed via the
LangGraph dev server, and the SDK client subscribes to the custom channel
to receive only A2A events.
npx tsx src/a2a.ts
Shows: .compile({ transformers: [createA2ATransformer] }), streamStateV2(), SDK client.runs.stream(), streamMode: ["custom"]
Agents
The example agents live in src/agents/ and src/a2a/:
| Agent | File | Description |
|---|---|---|
| Simple tool graph | agents/simple-tool-graph.ts |
Single ReAct loop with search + calculator |
| Research pipeline | agents/research-pipeline.ts |
Two sequential subgraphs with separate tools |
| Approval graph | agents/approval-graph.ts |
Planner → human approval → executor with interrupt/resume |
| A2A research | a2a/agent.ts |
Research pipeline with A2A stream transformer at compile time |
API Surface
All examples use the GraphRunStream returned by
graph.streamEvents(..., { version: "v3" }):
const run = await graph.streamEvents(input, { ...options, version: "v3" });
// Iterate all protocol events
for await (const event of run) { ... }
// Stream AI messages with text/reasoning/usage projections
for await (const msg of run.messages) {
for await (const token of msg.text) { process.stdout.write(token); }
const fullText = await msg.text;
const usage = await msg.usage;
}
// Observe subgraphs recursively
for await (const sub of run.subgraphs) {
console.log(sub.name, sub.path);
for await (const msg of sub.messages) { ... }
}
// Final output
const state = await run.output;
// State snapshots per step
for await (const snapshot of run.values) { ... }
// Messages from a specific node
for await (const msg of run.messagesFrom("agent")) { ... }
// Custom transformers
const run = await graph.streamEvents(input, {
version: "v3",
transformers: [myTransformer],
});
const custom = await run.extensions.myProjection;
// Human-in-the-loop
const run1 = await graph.streamEvents(input, { ...config, version: "v3" });
for await (const msg of run1.messages) { ... }
await run1.output;
if (run1.interrupted) {
console.log(run1.interrupts);
const run2 = await graph.streamEvents(
new Command({ resume: userDecision }),
{ ...config, version: "v3" }
);
}
Coming Soon
Additional examples will be added for:
createAgent—AgentRunStreamwith typedrun.toolCallscreateDeepAgent—DeepAgentRunStreamwithrun.subagents- Cancellation —
run.abort(),AbortSignalpassthrough