Danny Nguyen

Results issues of Danny Nguyen

Hey, I saw you recommended the rquirements builder on my iron manus repo but this caught my eye. I was trying to understand this project better to see if i...

**File:** `crates/headroom-proxy/src/cache_stabilization/anthropic_cache_control.rs:58-85` **Function:** `auto_place_anthropic_cache_control(body: &mut Value) -> AutoPlaceOutcome` **Issue:** Three "no work to do" cases currently return `AutoPlaceOutcome::Applied { placed_count: 0, locations: vec![] }` instead of `AutoPlaceOutcome::Skipped { reason: ......

**File:** `crates/headroom-proxy/src/sse/eventstream_to_sse.rs:132` **Issue:** The `header_value_preview` formatter slices the header value as `&s[..64]` to truncate it for logging. If byte 64 falls inside a multi-byte UTF-8 codepoint, this panics (Rust's slicing...

**Files:** `crates/headroom-proxy/src/bedrock/*.rs` (invoke handlers) **Issue:** The Bedrock invoke handlers do not set an explicit `axum::extract::DefaultBodyLimit` for request body size. Requests >2 MiB (axum's default) silently 413; below 2 MiB they're...

**File:** `crates/headroom-proxy/src/vertex/raw_predict.rs:10-78` **Issue:** `handle_raw_predict` (L10-78) is never registered as a route handler. The actually-live handler for `:rawPredict` requests is `handle_stream_raw_predict` in `crates/headroom-proxy/src/vertex/stream_raw_predict.rs`, which is the one wired up in `crates/headroom-proxy/src/proxy.rs`....

**File:** `crates/headroom-proxy/src/vertex/raw_predict.rs:245` **Issue:** The `X-Forwarded-Proto` header is set to the literal string `"http"`, ignoring the actual scheme of the inbound request. When the proxy is fronted by HTTPS (e.g., behind...