Packages

langchain

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

Your version

1.2.18

5 Feb 2026Where it was published

1.6.7 is the newest release of 1.x.

In short

1 fixed

Release note

Patch Changes

  • langchain: Resolve className collision in MODEL_PROVIDER_CONFIG

    Refactored getChatModelByClassName to accept an optional modelProvider parameter for direct lookup, avoiding the className collision issue where multiple providers share the same className (e.g., google-vertexai and google-vertexai-web both use "ChatVertexAI"). When modelProvider is provided, the function uses direct config lookup instead of searching by className. Backward compatibility is maintained for existing callers that only pass className. This eliminates the duplicated import logic that was previously in _initChatModelHelper.

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.