返回全部动态
Anthropic Python SDK 发布 v2.0.0
原标题:v2.0.0
AI 摘要
Anthropic 发布 Python SDK v2.0.0,这是一次包含破坏性变更的版本更新,新增对 API 版本 2026-10-21 的支持。新版本在列出支出限额时增加了 workspace_id 过滤器和 usage_tier 范围类型,并移除了消息描述中过时的 system 角色说明。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### ⚠ BREAKING CHANGES * **api:** add support for new API version 2026-10-21 ### Features * **api:** add a workspace_id filter and the usage_tier scope type to list spend limits * **api:** add support for new API version 2026-10-21 ### Documentation * **api:** remove outdated system role note from messages description
发布时间:2026-10-21 23:51
抓取时间:2026-10-21 23:57
来源机构:Anthropic