PulseAugur
中
实时 07:36:08
English(EN) Anthropic Python SDK v1.0 drops temperature, top_p and top_k in August 2026 but the API docs still list them

Anthropic Python SDK v1.0 弃用关键参数,造成文档混乱

Anthropic 发布了其 Python SDK 的 1.0.0 版本,该版本在其 Messages API 中移除了对 temperature、top_p 和 top_k 参数的支持。此更改将于 2026 年 8 月生效,并将最低 Python 版本提高到 3.10,并将 HTTP 层更新到 httpx2。然而,SDK 的文档和 API 参考目前在这些参数方面提供了冲突的信息。API 参考仍将 temperature、top_p 和 top_k 列为具有默认值的活动参数,而 SDK 的迁移指南则建议它们不再直接受支持,并且必须通过 `extra_body` 参数传递。这种差异给依赖这些参数来获得可复现输出的开发人员带来了不确定性。 AI

影响 使用 Anthropic Python SDK 的开发人员可能需要更新他们的代码,并由于文档不一致而重新评估他们对采样参数的使用。

排序理由 该集群描述了一个具有重大更改和文档不一致的软件开发工具包更新,而不是核心 AI 模型发布或研究里程碑。

在 dev.to — Anthropic tag 阅读 →

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

Anthropic Python SDK v1.0 弃用关键参数,造成文档混乱

本文如何被排名

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
该集群描述了一个具有重大更改和文档不一致的软件开发工具包更新,而不是核心 AI 模型发布或研究里程碑。
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, other
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
47 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

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

报道来源 [1]

  1. dev.to — Anthropic tag TIER_1 English(EN) · Manu Shukla ·

    Anthropic Python SDK v1.0 于 2026 年 8 月移除 temperature、top_p 和 top_k,但 API 文档仍列出它们

    <h1> Anthropic Python SDK v1.0 drops temperature, top_p and top_k in August 2026 but the API docs still list them </h1> <p><strong>Summary.</strong> Anthropic published version 1.0.0 of its Python SDK to PyPI at 19:58 UTC on 20 August 2026, eight days after OpenAI shipped its own…