litellm/litellm-rust
Yujong Lee 4cc0f5926b refactor(rust-bridge): read Messages and OCR through the shared request view
Messages and OCR read arguments with lookup (keyword first, then the bound
request) and resolved connection options by hand: plain api_key/api_base
strings, no base_url, empty strings kept, and OCR failed on any missing
key. Both now merge the hook rewrites once and resolve connection options
through the same route_options chat and Responses use, so base_url is a
fallback, an empty api_key or api_base counts as absent, a top-level None
is absent, and request_timeout backs up timeout.

connection_defaults is now an optional route_host hook. Messages and OCR
don't define one: Python resolves their keys from the argument or the
environment, never from litellm.api_key.

InferenceHost becomes RouteCodec in routes/codec.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 09:15:58 -07:00
..
.agents/skills refactor(rust): derive string enum serde through strum and serde_with (#44675) 2026-10-05 15:34:34 -07:00
crates refactor(rust-bridge): read Messages and OCR through the shared request view 2026-10-08 09:15:58 -07:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
AGENTS.md refactor(rust): derive string enum serde through strum and serde_with (#44675) 2026-10-05 15:34:34 -07:00
Cargo.lock feat(lens): isolate ingestion and investigations in a Rust service (#45148) 2026-10-07 17:18:58 -07:00
Cargo.toml refactor(rust): extract inference-testing crate (#44873) 2026-10-06 16:33:06 +00:00
clippy.toml feat(rust): add the MCP gateway (#43470) 2026-09-27 19:37:41 -07:00