dtmeadows-ant
dtmeadows-ant
Hey @ffishman thanks so much for all the details! We're actually still not able to reproduce this internally. Any chance you could share a batch or request ID where you...
Thanks for raising @arcaputo3! I'm taking a look at a fix now.
@salman-a-shah sorry for the delay here, and thanks for the precise repro. This was server-side and has since been fixed: running your script today against `claude-sonnet-4-5-20250929` produces exactly your "expected"...
@storybite sorry for the long delay here. This was on the API side rather than in the SDK, and it no longer reproduces: running your script today against `claude-sonnet-4-6`, the...
@hubyrod sorry for the long delay here, and thanks to everyone who added detail. The limits behind that error are now documented — strict tools per request, optional/union parameter budgets,...
@ymyke sorry for the delay, and thanks for the tight reproducer — it made this easy to track. The behaviour was server-side and has since been addressed: re-running your script...
Hi @Vaibhav-S-Gowda, sorry for the delay here. `examples/tools.py` was updated on main to the non-dated `claude-sonnet-5` alias in https://github.com/anthropics/anthropic-sdk-python/commit/ab10964f48c54c691e96f29f03dd7c600452c817, so the dated model ID is gone. Thanks for flagging it.
@gulbaki @tanguyRenaudieDatadog sorry for the very long delay here. Caching does apply to streamed requests, and the cache counters are available on the stream today: `message_start` carries them from the...
Gonna close this one given the staleness. Feel free to open a new one if these errors are still showing up!
Hey @richzw — sorry for the long delay here. Both halves of this are covered by the `aws_profile` argument that shipped in [v0.35.0](https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.35.0): pointing it at a profile with `role_arn`/`source_profile`...