Skip to content

anthropic: Pass beta header for speed in BYOK (#57707) (cherry-pick to preview)#57711

Merged
zed-zippy[bot] merged 1 commit into
v1.4.xfrom
cherry-pick-v1.4.x-49fe1fca
May 26, 2026
Merged

anthropic: Pass beta header for speed in BYOK (#57707) (cherry-pick to preview)#57711
zed-zippy[bot] merged 1 commit into
v1.4.xfrom
cherry-pick-v1.4.x-49fe1fca

Conversation

@zed-zippy

@zed-zippy zed-zippy Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #57707 to preview


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.

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.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 26, 2026
@zed-community-bot zed-community-bot Bot added the bot Pull requests authored by a bot label May 26, 2026
@zed-zippy zed-zippy Bot merged commit deeebb7 into v1.4.x May 26, 2026
42 checks passed
@zed-zippy zed-zippy Bot deleted the cherry-pick-v1.4.x-49fe1fca branch May 26, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant