Catalog / Anthropic Python SDK
2.2.0
Features
- api: add support for message threads
- api: add usage and cost reports by dimension, mark older reports legacy
Bug Fixes
- client: stop suggesting math.inf in the max_retries error message
- tools: leave the tool runner's history to the caller after
append_messages(), and keep the current reply out of theset_messages_params()callback - tools: keep running the tool runner's function tools when
set_messages_params()givestoolsas definitions, and stop running one it takes out oftools - tools: give the
set_messages_params()callback of a tool runner itstoolsas definitions again - tools: keep a tool runner's
betas,user_profile_idandworkspace_idwhenset_messages_params()leaves them out
Chores
- deps: bump certifi in the dev lockfile
- docs: clarify plugin content scan and validation descriptions
- docs: clarify plugin served_version_pinned and updated_at
- docs: fix usage and cost report examples and ending_at docs
- docs: rate limit model lists vary by organization and workspace