Part of #113 (Claude Code integration).
Transparent proxy for /v1/messages and /v1/messages/count_tokens to the vLLM upstream, plus the Anthropic gateway protocol contract obligations a naive proxy gets wrong.
The proxy itself landed in #99 (raw body/headers/query/status/SSE/error pass-through, dual auth). This issue tracks the remaining contract items that need explicit test coverage:
Acceptance: #99 merged + the two attribution/beta contract tests land. Contract details in #98 → "Gateway protocol contract".
Part of #113 (Claude Code integration).
Transparent proxy for
/v1/messagesand/v1/messages/count_tokensto the vLLM upstream, plus the Anthropic gateway protocol contract obligations a naive proxy gets wrong.The proxy itself landed in #99 (raw body/headers/query/status/SSE/error pass-through, dual auth). This issue tracks the remaining contract items that need explicit test coverage:
systemattribution-block strip works — only holds ifsystemis forwarded verbatim, block-first (reordering/merging/stringifying breaks it and pollutes the prompt-cache key).anthropic-betaforwarded as an open list (never allowlist beta values — the set changes per release).anthropic-versionforwarded unchanged.Authorizationorx-api-key(done in feat: add Anthropic Messages gateway proxy #99).Acceptance: #99 merged + the two attribution/beta contract tests land. Contract details in #98 → "Gateway protocol contract".