返回全部动态
Anthropic Python SDK 发布 v1.7.0
原标题:v1.7.0
AI 摘要
Anthropic 发布 Python SDK v1.7.0,新增速率限制分组 display_name 字段并弃用 group_type,同时在工具运行器中加入 compact_before_next_turn() 方法。该版本还修复了 Bedrock 事件流异常处理、联合类型解析及 anthropic-beta 头拼接等问题,并将 pydantic 依赖要求提升至 1.10 以上。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
## 1.7.0 (2026-09-18) Full Changelog: [v1.6.0...v1.7.0](https://github.com/anthropics/anthropic-sdk-python/compare/v1.6.0...v1.7.0) ### Features * **api:** add group with display_name to rate limits, deprecate group_type ([28f0a83](https://github.com/anthropics/anthropic-sdk-python/commit/28f0a831355fa3d539fd3e1db1c63f92a39bb252)) * **tools:** add compact_before_next_turn() to the tool runner ([#641](https://github.com/anthropics/anthropic-sdk-python/issues/641)) ([8b23fb3](https://github.com
发布时间:2026-09-19 00:12
抓取时间:2026-09-19 17:50
来源机构:Anthropic