mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(router.py): instrument pre-call-checks for all openai endpoints
This commit is contained in:
parent
308a6e11f8
commit
5bb73dc9c0
3 changed files with 130 additions and 10 deletions
|
@ -282,9 +282,6 @@ class RedisCache(BaseCache):
|
|||
|
||||
async def async_set_cache(self, key, value, **kwargs):
|
||||
start_time = time.time()
|
||||
print_verbose(
|
||||
f"Set Async Redis Cache: key: {key}\nValue {value}\nttl={ttl}, redis_version={self.redis_version}"
|
||||
)
|
||||
try:
|
||||
_redis_client = self.init_async_client()
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue