A developer has identified a critical issue where code using the LangChain library might inadvertently call retired AI models. This occurs because LangChain's default settings for classes like `ChatOpenAI` and `ChatAnthropic` point to models that are scheduled for deprecation, such as `gpt-3.5-turbo` and `claude-sonnet-4-5-20250929`. The developer's tool, Since, initially struggled to detect this because the model names were not explicitly written in the user's code but were instead embedded within the library's dependencies. A fix was implemented to parse dependency source code and track default model assignments per version, ensuring that code relying on these defaults is flagged before the models are retired. AI
IMPACT Developers using LangChain may face unexpected model deprecation issues if they rely on default settings.
RANK_REASON Developer identifies a flaw in a popular library (LangChain) that causes it to default to retired models, impacting their own tool (Since).
- ChatAnthropic
- ChatOpenAI
- claude-sonnet-4-5-20250929
- LangChain
- November 30
- October 23, 2026
- OpenAI
- Since
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →