PulseAugur
中
实时 23:04:21
English(EN) Your Code Never Names a Model. It Still Calls a Retired One.

LangChain 默认使用已退役的 AI 模型,给开发者带来风险

一位开发者发现了一个关键问题,使用 LangChain 库的代码可能会无意中调用已退役的 AI 模型。这是因为 LangChain 中 `ChatOpenAI` 和 `ChatAnthropic` 等类的默认设置指向了计划弃用的模型,例如 `gpt-3.5-turbo` 和 `claude-sonnet-4-5-20250929`。开发者的工具 Since 最初难以检测到这一点,因为模型名称没有明确写在用户的代码中,而是嵌入在库的依赖项中。现已实施修复,通过解析依赖项源代码并跟踪每个版本的默认模型分配,确保依赖这些默认设置的代码在模型退役前被标记出来。 AI

影响 依赖默认设置的 LangChain 开发者可能会面临意外的模型弃用问题。

排序理由 开发者发现了一个流行库 (LangChain) 中的缺陷,该缺陷导致其默认使用已退役的模型,从而影响了他们自己的工具 (Since)。

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

LangChain 默认使用已退役的 AI 模型,给开发者带来风险

本文如何被排名

Signal score
13 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
开发者发现了一个流行库 (LangChain) 中的缺陷,该缺陷导致其默认使用已退役的模型,从而影响了他们自己的工具 (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.

完整方法见我们的编辑标准。

报道来源 [1]

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

    你的代码从未命名过模型,却仍在调用一个已弃用的模型。

    <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…