zed/crates/anthropic
Tom Houlé 49fe1fcad5
anthropic: Pass beta header for speed in BYOK (#57707)
We were sending the `speed` field set to `"standard"` for BYOK Anthropic
but without the corresponding beta header. leading the requests to fail
with "invalid request format to Anthropic's API: speed: Extra inputs are
not permitted".

This makes sure to attach the beta header whenever the `speed` parameter
is used.

Release Notes:

- Fixed "speed: Extra inputs are not permitted" errors for Opus 4.6 and
4.7 in the Anthropic API provider.
2026-05-26 09:00:33 +00:00
..
src anthropic: Pass beta header for speed in BYOK (#57707) 2026-05-26 09:00:33 +00:00
Cargo.toml language_models: Remove unused language model token counting (#54177) 2026-04-22 13:39:48 +00:00
LICENSE-GPL anthropic: Fix license (#23867) 2025-01-29 23:03:20 +00:00