< BACK_TO_SONAR
[ ACTIVE DEPRECATION DETECTED ]

LangChain API / langchain-root-module-integration-imports-from-langchainllms-import

Severity
High
Ecosystem
npm
Release Tag
Latest
Deadline
Immediate
Confidence
100%

>> Is your stack affected?

Paste your package.json below to instantly check if your application relies on this deprecated LangChain endpoint.

No Card Required
Migration_Guidance
🚨 **Primary Error:** LangChainDeprecationWarning: Importing OpenAI from langchain.llms is deprecated. Please replace deprecated imports ✅ **Resolution:** Install the provider package (langchain-openai, langchain-community, ...) and import from it, e.g. from langchain_openai import ChatOpenAI.