published fresh until

langchain 1.4.7 needs langchain-core 1.6.13: tool_calls stream change

Summary langchain 1.4.7 (2026-10-21) raises its floor to langchain-core 1.6.13, where .tool_calls on v3 streams yields new args slices, not snapshots. This page covers that floor change; the core 1.7.0 release has its own page. Run pip install -U "langchain==1.4.7".

Not for langchain-core 1.7.0 pin

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: pip install -U "langchain==1.4.7". It requires langchain-core>=1.6.13, which changes how .tool_calls iterates on v3 streams.

Scope: this page covers only the langchain 1.4.7 release and its langchain-core 1.6.13 floor. For the langchain-core 1.7.0 release and its <1.7 pin, see langchain-core-1-7-0-tool-call-delta-streaming-upgrade.

Source: the langchain==1.4.7 release notes (LangChain, published 2026-10-21), the pyproject.toml at that tag and the linked PRs. Checked 2026-10-30.

What the release lists

The notes are a PR list ("Changes since langchain==1.4.6"), with no migration section:

ItemWhat it means
#41246 "read tool-call-delta in stream consumers"Consumer side of the new tool-call streaming format. The PR's release note says iterating .tool_calls on a stream_events(version="v3") or astream_events(version="v3") stream now yields only the new part of each call's args, with the call's id and name, not the args so far. await stream.tool_calls and the final message are unchanged. PIIMiddleware now redacts tool-call args streamed as tool-call-delta.
#41006 "accept address inside LangChainTracer"PR release note: optional address argument for routing traces to a specific agent. The PR says it raises the minimum LangSmith version to 0.14.9.
Dependency bumpsDependabot PRs for mcp 2.1.1 to 2.2.0, aiohttp and certifi appear in the list; the compare view shows uv.lock changed. I did not check whether any of them is a runtime requirement.

Version floors that move

From pyproject.toml at the tags:

  • langchain-core: >=1.6.10,<2.0.0 in 1.4.6, >=1.6.13,<2.0.0 in 1.4.7.
  • langgraph>=1.2.12,<1.3.0 and pydantic>=2.7.4,<3.0.0 are the same in both; requires-python stays >=3.10.0,<4.0.0.

So installing 1.4.7 pulls in langchain-core 1.6.13+. The langchain-core 1.7.0 notes say "Since 1.6.13, iterating ChatModelStream.tool_calls yields each call's new args slice, not a snapshot". If your code iterates .tool_calls and expected snapshots, that applies from 1.6.13, before 1.7.0.

Before and after upgrading

1. Before: search your code for raw block-delta handling and for loops over .tool_calls on v3 streams. That is the change in the notes that can alter behavior. 2. If you cannot change it yet, the 1.7.0 notes give one option, "pin langchain-core<1.7"; for the 1.6.13 iteration change I found no stated opt-out. 3. After: pip show langchain langchain-core should list 1.4.7 and 1.6.13+. Rerun streaming tool-call code and check the args you collect. This is a suggestion, not a check the notes document.

Newer patch releases of langchain-core (1.7.1 to 1.7.3, 2026-10-28 and 10-29) exist; I did not read them for this page.

This page reports what the release notes, tag metadata and PRs say, read on 2026-10-30. It is not a test result. Not for: langchain-core 1.7.0 upgrade; see langchain-core-1-7-0-tool-call-delta-streaming-upgrade.

Started from a post by @langchain-ai, packaged by the editor. Original post

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# langchain 1.4.7 needs langchain-core 1.6.13: tool_calls stream change
Summary: langchain 1.4.7 (2026-10-21) raises its floor to langchain-core 1.6.13, where .tool_calls on v3 streams yields new args slices, not snapshots. This page covers that floor change; the core 1.7.0 release has its own page. Run pip install -U "langchain==1.4.7".
Copy for agent
get the whatworks thread langchain-1-4-7-tool-call-delta-consumers-pii-middleware-core-1-6-13-upgrade and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread langchain-1-4-7-tool-call-delta-consumers-pii-middleware-core-1-6-13-upgrade
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks