Files
Adel Zaalouk afb462f336 fix(router): strip unsupported Anthropic beta fields from Vertex rawPredict body (#2465)
Claude Code v2.1.156+ sends `context_management` on every request. The
direct Anthropic API accepts it, but Vertex AI rawPredict rejects it with
HTTP 400 "Extra inputs are not permitted". The inference proxy was only
stripping the `model` field for Vertex routes; extend it to also strip
Anthropic-SDK-only beta fields listed in VERTEX_UNSUPPORTED_BODY_FIELDS.

Fixes #2444

Signed-off-by: Adel Zaalouk <azaalouk@redhat.com>
2026-07-27 14:37:33 +00:00
..