litellm/litellm-rust/crates/gateway-inference/src
Yujong Lee b61449e35d
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
fix(gateway): read boot, OCR and config env settings through one injected Env
The gateway takes one Env snapshot, overlays config environment_variables on it and injects it into every reader, so OCR REQUEST_TIMEOUT, Vertex credentials, Messages thinking budgets and AWS credentials now see config env vars. Boot and UI settings move to Layered and envy is dropped. clippy.toml bans std::env::var

ProcessEnvironment is private to python-bridge, so library constructors take the lookup as a required argument instead of defaulting to the process (MessagesTransformContext, RedisCache, EnvironmentSecrets, OcrConnection). auth-aws reads every env-backed credential source through the lookup before handing the rest to the SDK chain, so the assume-role shortcut and the credentials it returns agree

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:02:00 -07:00
..
audio_transcription.rs refactor(rust): extract inference-transcription crate (#44809) 2026-10-06 07:17:24 -07:00
caching.rs refactor(inference): rename RouteError to Error (#47771) 2026-10-21 07:03:18 -07:00
chat_completions.rs refactor(rust): extract inference-chat crate (#44827) 2026-10-06 07:17:26 -07:00
error.rs refactor(inference): rename RouteError to Error (#47771) 2026-10-21 07:03:18 -07:00
lib.rs fix(gateway): read boot, OCR and config env settings through one injected Env 2026-10-26 10:02:00 -07:00
messages.rs fix(rust): forward Anthropic headers to DeepSeek (#46959) 2026-10-16 20:07:41 +00:00
ocr.rs refactor(rust): extract inference-ocr crate (#44832) 2026-10-06 07:17:26 -07:00
request.rs feat(rust): separate gateway authentication and authorization (#43467) 2026-09-27 19:18:59 -07:00
responses.rs refactor(rust): extract inference-responses crate (#44811) 2026-10-06 07:17:25 -07:00