tomer-ant
tomer-ant
Thanks for the report! This will be fixed in the next release (https://github.com/anthropics/anthropic-sdk-python/pull/1866/changes/ab1ec609f2cce801644ff4410660deb52680f273)
Thanks, this is fixed in v0.122.0 (https://github.com/anthropics/anthropic-sdk-python/commit/6eca7bb19f968856b5652d5471e3ca9fc3fe8641). AnthropicBedrock().beta.messages now exposes stream, parse and tool_runner.
Fixed in v0.122.0 (https://github.com/anthropics/anthropic-sdk-python/commit/a343e17b7bc970f656fa02a980b0baa2bf8c3b80). The non-beta accumulator now raises a descriptive error with the partial JSON when the model emits malformed tool input. Thanks for the report.
Will be fixed in the next release (https://github.com/anthropics/anthropic-sdk-python/pull/1810/changes/070f95332daea9dc3ed19fe91251d6e5285e5560)
Fixed in v0.122.0 (https://github.com/anthropics/anthropic-sdk-python/commit/ccfc8e140e8e6b824e74c8fd9bed2587e60c5b6f). The stream helpers now emit input_json events for server_tool_use blocks. Thanks for the report.
This will be fixed holistically in v0.122.0 ([commit](https://github.com/anthropics/anthropic-sdk-python/pull/1810/changes/fc1599bd4c25ad5550d55f8f1c8f5c5664e19ed1))
Thanks for the report! This was fixed in v0.122.0 (https://github.com/anthropics/anthropic-sdk-python/commit/cd40aab995181aa44e9fbdb7b6ce1fa82357c18b)
This is fixed in v0.122.0 (https://github.com/anthropics/anthropic-sdk-python/commit/76a2e68531d50c9043a5ac58919527287e56a842). Empty ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN values are now treated as unset.
Fixed in v0.122.0 (https://github.com/anthropics/anthropic-sdk-python/commit/41f9cdcac36d4c6a3d9d2c8becaa632c75a44054). message_stop events no longer trigger PydanticSerializationUnexpectedValue warnings. Thanks for the report.
Thanks for the detailed writeup. You're right that base ** attempt overflows before min() can clamp it. For context on severity: the poller sleeps ~60s per attempt once it hits...