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
- Anthropic's Claude Code v2.1.269 adds plugin eval, workflow agent limits, and fixes Claude Code Releases ·
- Anthropic Claude Code v2.1.268 Patch Release Claude Code Releases ·
- Anthropic Introduces Smart Reports for Claude Enterprise Teams Claude Release Notes ·
- Anthropic Enhances Claude Managed Agents with `auto` Policy, CLI Connect Claude Platform Release Notes ·
- Anthropic Python SDK v1.5.0 Introduces Managed Agent and Tooling Enhancements Anthropic Python SDK Releases ·
- Anthropic Claude Code v2.1.267 Delivers New Controls and Bug Fixes Claude Code Releases ·