mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
fix: make type object subscriptable
This commit is contained in:
parent
805679becc
commit
2c5b2da955
1 changed files with 1 additions and 1 deletions
|
|
@ -618,7 +618,7 @@ class Router:
|
|||
|
||||
@staticmethod
|
||||
def _create_redis_cache(
|
||||
cache_config: dict[str, Any]
|
||||
cache_config: Dict[str, Any]
|
||||
) -> RedisCache | RedisClusterCache:
|
||||
if cache_config.get("startup_nodes"):
|
||||
return RedisClusterCache(**cache_config)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue