-
v2.2.3-ew-2
Stablereleased this
2026-09-29 09:13:31 +02:00 | -3470 commits to 1.4.23-ew since this releaseEW Response Sanitizer + x-ewcs Header Branding: partner infrastructure data no longer reaches customers, and all routed-identity response headers now carry the x-ewcs-* branding.
- Header denylist for the EW provider:
x-litellm-*,llm_provider-*,x-ratelimit-*are filtered fromextra_fields.provider_response_headersAND the HTTP response headers — on success, error and all streaming paths. The sanitizer lives in the fork-ownedcore/providers/ew/package (zero upstream-conflict surface). system_fingerprintis emptied instead of forwarded (revealed the partner vLLM build).raw_request/raw_responseare never delivered for EW — unary and all five stream chunk shapes (chat, text completion, responses stream, speech stream, error), regardless of send-back-raw configuration.- Internal key name withheld:
extra_fields.routing_info.keyand the routing-info-key response header are gone for EW — gated atBuildRoutingInfoviaResolveBaseProvider, so EW-based custom providers are covered too. - Branding: all 16 routed-identity response header constants plus
x-bifrost-trace-idrenamed tox-ewcs-*(all providers); provider-harness contract and docs updated.x-bf-*request headers intentionally unchanged. - Tests: 13 sanitizer unit tests,
TestRoutingInfoKeyWithheldForEW(gjson marshal proof), empty-key header-skip case, harness case 8.5.S (FEATURE="sanitization", live run against the partner environment). - Docs:
specs/10-ew-response-sanitizer-ewcs-headers.md(mechanisms, what-NOT-to-change, port notes).
Commits:
4fd52e37c,fac94934f,2be33ee2e,e000e4b71,6d2842ad2,c56272b48,d4cc8b3dd,223b9a550
Image: forge.engelmann.me/engel75/bifrost:v2.2.3-ew-2Verified: go build + vet + make build LOCAL=1; go test (core/providers/ew 13/13, core, schemas, transports lib+handlers suites); wire smoke on a locally booted gateway (x-ewcs-request-type / x-ewcs-provider present, zero x-bifrost-* headers on the wire); harness augment/filter checks (8.5.S resolves to exactly 1 request).
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Header denylist for the EW provider: