[model-gateway] fix annotation error and code formating (#14910)

This commit is contained in:
Simo Lin
2025-12-11 07:06:32 -08:00
committed by GitHub
parent 5b0872d2d7
commit cd1c1fa5bc
6 changed files with 25 additions and 14 deletions
@@ -566,7 +566,6 @@ impl Router {
// For streaming with load tracking, we need to manually decrement when done
// Clone the worker Arc for the async block instead of looking it up again
let stream_worker = worker.clone();
let worker_url_owned = worker_url.to_string();
// Preserve headers for streaming response
let mut response_headers = header_utils::preserve_response_headers(res.headers());