Files
zed/crates/open_ai
Bennet Bo Fenner 10113795df anthropic: Support per-message reasoning effort (#67365)
Changing Claude’s reasoning effort mid-conversation used to change the
top-level effort for the entire request. That can invalidate cached
prompt prefixes and make previously signed thinking blocks unusable on
models that bind them to the request prefix.

On supported Anthropic routes, this keeps the original top-level effort
stable and sends later changes as inline system updates. The new effort
applies to subsequent turns without rewriting earlier ones, so Claude
can reuse the cached prefix and preserve prior thinking blocks when the
rest of the prefix is unchanged.

Release Notes:

- N/A
2026-11-23 13:46:17 +00:00
..