Anthropic Python SDK v2.7.0
Anthropic Python SDK v2.7.0 adds references to claude-fable-5-2 and claude-mythos-5-2, updates webhook handling, and fixes Bedrock, Vertex, and Foundry client bugs.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Anthropic Python SDK v2.7.0 brings several API features and client-level bug fixes. Feature additions include API references for claude-fable-5-2 and claude-mythos-5-2, parent organization filtering/grouping for usage and cost reports, sandbox egress restricted error handling on Admin API write methods, and a user profile.program status updated webhook event. Bug fixes resolve missing parse and count tokens methods on Bedrock and Vertex raw/streaming response clients, header and signature signing issues on Bedrock, copy/options/middleware behavior when ANTHROPIC FOUNDRY RESOURCE is set, unpickling/copying of API errors, and schema parsing adjustments regarding const and enum types.
可执行摘要
Anthropic Python SDK v2.7.0 adds API support for claude-fable-5-2 and claude-mythos-5-2, webhook events for user profile program status updates, parent organization filtering in cost/usage reports, and fixes token count and parsing methods across Bedrock and Vertex clients.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to Anthropic Python SDK v2.7.0 via pip.
- Update Bedrock and Vertex client integrations if relying on count tokens or parse methods on beta.messages responses.
- Review usage and cost reporting calls to leverage parent organization filtering if managing multi-org setups.