model-behaviorAutomated release watch

Anthropic Python SDK v1.7.0

Anthropic Python SDK v1.7.0 adds tool compaction before next turns, updates rate limit structures, and resolves multiple client-side typing and bedrock error handling bugs.

Human read

Why this signal matters

Anthropic Python SDK v1.7.0 was released with updates to tools, rate limits, and parsing behavior. Key features include adding compact before next turn() to the tool runner along with associated state and failure handling cleanups, and deprecating the rate limit group type in favor of group with display name. Bug fixes address Bedrock eventstream exceptions raising API errors, response parsing support for X | Y union types (preventing TypeError on unknown data), and formatting multiple anthropic-beta header values with comma separation and no spaces. Dependencies were updated to require pydantic 1.10 or later.

Agent parse

Actionable summary

Anthropic Python SDK v1.7.0 introduces compact before next turn() to the tool runner with state/failure handling fixes, deprecates rate limit group type in favor of group with display name, requires pydantic = 1.10, and improves parsing of union types ( X | Y ) and Bedrock eventstream error frames.

Agent usefulness
82/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Upgrade anthropic to version 1.7.0.
  • Verify pydantic version is 1.10 or later.
  • Update rate limit parsing logic to use the new group with display name format instead of the deprecated group type.
  • Evaluate the new compact before next turn() method if managing tool runner turn state.
Classification

Tags and routing

anthropicsdkpython
Related signals

Continue the thread