mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
Extend cache-redis so RedisTopology::Cluster routes single-key commands by hash slot, groups pipelines by slot while keeping reply order, scans and scoped-flushes every primary, and fans admin commands out to all nodes. The bridge projects RedisClusterCache startup_nodes into the typed topology, accepts the exact RedisClusterCache identity, guards nodes_manager state, and falls back to Python for anything it cannot project. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
16 lines
358 B
TOML
16 lines
358 B
TOML
[package]
|
|
name = "litellm-cache-redis"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
litellm-cache.workspace = true
|
|
redis = { version = "1.7.0", features = ["cluster", "tls-rustls"] }
|
|
r2d2 = "0.8.10"
|
|
tokio.workspace = true
|
|
|
|
[dev-dependencies]
|
|
redis-test = "1.0.4"
|
|
serde_json.workspace = true
|