PulseAugur
EN
LIVE 21:13:21

LangChain defaults to retired AI models, posing a risk to developers

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).

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

LangChain defaults to retired AI models, posing a risk to developers

How we ranked this

Signal score
25 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Developer identifies a flaw in a popular library (LangChain) that causes it to default to retired models, impacting their own tool (Since).
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Nabil A ·

    Your Code Never Names a Model. It Still Calls a Retired One.

    <p>Here are two lines of perfectly normal LangChain code:<br /> </p> <div class="highlight js-code-highlight"> <pre class="highlight javascript"><code><span class="kd">const</span> <span class="n">llm</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">Cha…