Packages

langchain

1.6.7 · 18 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.5.14

27 Sep 2026Where it was published

1.6.7 is the newest release of 1.x.

In short

1 fixed

Release note

Patch Changes

  • createAgent no longer ends the run when a returnDirect tool fails. A tool error, including arguments that fail the tool's schema, now goes back to the model so it can correct the call and retry; the run still ends on the first successful returnDirect result. Error ToolMessages produced by the tool node now carry status: "error", and a ToolMessage returned from a custom handleToolErrors function defaults to that status when it sets none.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.