Unofficial AI-summarized news site (not affiliated with any AI company)
AI News JP / www.ai-news.jp
🔵 Standard AI Summary · Source: SDK (anthropic-sdk-python)

Bedrock file upload fix — subtle but reduces production pitfalls for real operations

anthropic-sdk-python v1.2.0: File Upload Fixes and Beta API Stabilization

Original: anthropics/anthropic-sdk-python: v1.2.0

Importance: SDKマイナーバージョンアップであり、バグ修正と小機能改善が主体だが、ファイルアップロード修正は実装者に直結した改善

Summary

Anthropic's Python SDK updates to v1.2.0 with critical bug fixes and API stabilization. The release fixes binary file uploads via AWS Bedrock by correcting raw request byte signing, stabilizes beta files/skills namespaces to GA shapes, and removes dated beta header pins. Additional improvements include event accumulator forward-compatibility for new session event types, support for partial file reads exceeding size caps, and precise file byte preservation in agent toolsets without newline translation.

Key Points

  • Binary file uploads via AWS Bedrock now fixed
  • Beta files/skills unified to GA shapes
  • Session event accumulator forward-compatible
  • File read and byte preservation improved
View developer notes (APIs, breaking changes, migration)

anthropic-sdk-python v1.2.0 implements critical technical fixes: (1) AWS/Bedrock: raw request byte signing corrected for binary file uploads, resolving encoding issues (#531); (2) API shapes: beta files/skills namespaces promoted to GA shapes, dated beta header pins removed; (3) Sessions: event accumulator made forward-compatible with new event types (#533); (4) Tools: file.read() now supports view_range for reads exceeding size caps (#538), exact file bytes preserved in agent toolset/memory without newline translation (#540); (5) Webhooks: headers argument required in unwrap(). Migration from v1.1.0 reduces file handling bugs and clarifies beta/GA boundaries.

API/SDKAudience: 開発者

Source: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.2.0

Outlet: SDK (anthropic-sdk-python)

This article is an AI-generated summary (OpenAI GPT-4o-mini) of publicly available information from Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, Sakana, and other vendors. The original source URL is always provided in accordance with fair-use citation requirements. Summaries are AI-generated and may contain mistranslations or misinterpretations. Always verify details with the original source.