Anthropic SDK Python v0.119.0 adds new stop reason, improves tool handling
sdkai
feature patch
Anthropic's Python SDK version 0.119.0 introduces a new stop reason for API responses, 'model_context_window_exceeded', enhancing error handling for developers. Additionally, it includes a bug fix for the agent toolset, enabling it to correctly handle binary files during read and edit operations. This update is relevant for developers using the Anthropic SDK in Python for their AI applications.
- →add new stop reason 'model_context_window_exceeded'
- →handle binary files in agent toolset read/edit
Features (1) ›
- api add new stop reason 'model_context_window_exceeded'
Read the original announcement →
https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.119.0
Related releases
- Claude model claude-opus-4-1-20250805 reaches end of life in 7 days endoflife.date ·
- Anthropic SDK for Python v0.120.2 Patch Release Anthropic Python SDK Releases ·
- Anthropic SDK for Python v0.120.1 includes dependency fix Anthropic Python SDK Releases ·
- Anthropic CEO on Open-Weights Models and National Security Anthropic News ·
- Cognizant and Anthropic Expand Partnership for Enterprise Claude Deployment Anthropic News ·
- Claude Code v2.1.220: Bug fixes and reliability improvements Claude Code Releases ·