Anthropic Python SDK v1.6.0
Anthropic Python SDK v1.6.0 introduces Managed Agents auto-mode tool permissions, compaction beta parameters, async credential token providers, and critical client retry bug fixes.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Anthropic Python SDK v1.6.0 introduces several new API features, client improvements, and bug fixes. Key additions include auto mode tool permissions for Managed Agents, beta support for compaction parameters and signed compaction blocks, enum types for workspace data-residency geo fields, URL sources in the web fetch tool, and workspace ID parameters for user profile methods. Client changes add support for async credential token providers, fix non-blocking coroutine retries for async client connection errors, honor Retry-After headers exceeding 60 seconds (falling back to default backoff when out of range), and ignore invalid Retry-After values while validating maxRetries. Dependency updates require anyio = 4.1.
可执行摘要
Anthropic Python SDK release v1.6.0 adds Managed Agents auto mode tool permissions, beta compaction and thinking mismatch parameters, async credential token providers, and updates dependencies requiring anyio = 4.1 alongside client retry handling fixes.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Ensure environment dependencies satisfy anyio 4.1 or later.
- Review retry configurations to account for validated maxRetries and updated Retry-After handling behavior.
- Optionally migrate to async credential token providers if managing asynchronous credentials.