mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
config now only deserializes the Redis YAML. The new litellm-redis-resolve crate turns an already merged redis-py kwargs dict into a Resolution without reading the environment or secrets, so both hosts can share it. The REDIS_* layering, the get_secret fallbacks and the Azure REDIS_USERNAME read move to gateway, the only host that needs a Rust copy of the merge. litellm/_redis.py gets _merge_redis_kwargs, the merge stage of _get_redis_client_logic, and the contract cases gain a merged column that pins the Python merge, the Rust merge and the Rust interpret step to the same dict. |
||
|---|---|---|
| .. | ||
| config.rs | ||
| mcp.rs | ||