mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-26 22:30:11 +00:00
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> |
||
|---|---|---|
| .. | ||
| benches | ||
| src | ||
| tests | ||
| AGENTS.md | ||
| build.rs | ||
| Cargo.toml | ||
| preflight_contract.json | ||