mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +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
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -49,3 +49,4 @@ litellm/proxy/vertex_key.json
|
||||||
kub.yaml
|
kub.yaml
|
||||||
loadtest_kub.yaml
|
loadtest_kub.yaml
|
||||||
litellm/proxy/_new_secret_config.yaml
|
litellm/proxy/_new_secret_config.yaml
|
||||||
|
litellm/proxy/_new_secret_config.yaml
|
||||||
|
|
|
@ -1056,7 +1056,7 @@ class DualCache(BaseCache):
|
||||||
sublist_dict = dict(zip(sublist_keys, redis_result))
|
sublist_dict = dict(zip(sublist_keys, redis_result))
|
||||||
|
|
||||||
for key, value in sublist_dict.items():
|
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}")
|
print_verbose(f"async batch get cache: cache result: {result}")
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue