litellm/litellm-rust
Yujong Lee 4f1f834ffb refactor(rust): carry request headers as http::HeaderMap
Request headers moved through llms configs, the OCR handler, WireRequest and
the auth helpers as a hand-rolled Vec<(String, String)>, with helpers that
re-implemented case-insensitive lookup on top of it and converters back to
HeaderMap at the edges. They now travel as http::HeaderMap end to end.

Header names and values a caller or deployment supplies are parsed when they
enter, so an invalid one fails as a typed caller fault (HeaderError,
llms InvalidRequest, auth InvalidHeader) instead of surfacing later as a
reqwest build error. Pre-call callbacks still see a name -> value dict, now
with lowercase names, and an edit that cannot go on the wire raises
ValueError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:19:45 -07:00
..
.agents/skills feat(gateway): forward declined and unserved requests to Python 2026-10-23 14:56:57 -07:00
crates refactor(rust): carry request headers as http::HeaderMap 2026-10-23 15:19:45 -07:00
docs/adrs docs(rust): add ADRs for the Rust core (#45205) 2026-10-08 10:21:56 -07:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
AGENTS.md refactor(http): make litellm_http::Error the one opaque error 2026-10-23 11:32:48 -07:00
Cargo.lock refactor(rust): carry request headers as http::HeaderMap 2026-10-23 15:19:45 -07:00
Cargo.toml docs(rust-error): adopt std source chains and add litellm-error Report 2026-10-23 12:03:23 -07:00
clippy.toml build(rust): upgrade reqwest to 0.13 and move MCP out of litellm-http 2026-10-23 10:13:42 -07:00