Skip to content

fix(proxy): Anthropic connection base URL receives the caller's anthropic-beta flags - #490

Merged
patrickbrandao merged 2 commits into
mainfrom
ship/v0.31.6
Nov 7, 2026
Merged

patrickbrandao merged 2 commits into
mainfrom
ship/v0.31.6

Conversation

@patrickbrandao

Copy link
Copy Markdown
Owner

Shipped by scripts/ship.sh as v0.31.6.

patrickbrandao and others added 2 commits November 7, 2026 17:34
…er's anthropic-beta flags

Caller beta flags were forwarded only when the host was api.anthropic.com.
An Anthropic API-key connection pointed at a proxy or a simulator lost them,
so Claude Code's beta-only fields (a role "system" turn with output_config,
per-turn-control) came back as 400 "Extra inputs are not permitted".
Anthropic-format overrides of other providers still get no flags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@patrickbrandao
patrickbrandao merged commit 12b5171 into main Nov 7, 2026
@patrickbrandao
patrickbrandao deleted the ship/v0.31.6 branch November 7, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant