mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(caching.py): fix async batch redis get request
This commit is contained in:
parent
31a5527eb2
commit
fb6ded6e40
2 changed files with 2 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ class DualCache(BaseCache):
|
|||
sublist_dict = dict(zip(sublist_keys, redis_result))
|
||||
|
||||
for key, value in sublist_dict.items():
|
||||
result[sublist_keys.index(key)] = value[key]
|
||||
result[sublist_keys.index(key)] = value
|
||||
|
||||
print_verbose(f"async batch get cache: cache result: {result}")
|
||||
return result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue