The inference request header sanitization currently uses a denylist approach, which allows unexpected…
The inference request header sanitization currently uses a denylist approach, which allows unexpected…: a task in LegoFlow-SWE (Harbor dataset). The fix should change the sanitization from a denylist to a route-aware allowlist. The router should enforce that each route can specify a list of…
The task
The fix should change the sanitization from a denylist to a route-aware allowlist. The router should enforce that each route can specify a list of `passthrough_headers`—header names that are allowed to be forwarded for that specific route. For example, a route might allow `openai-organization` and `x-model-id`…
Part of Lego-X/LegoFlow-SWE.