fix(router.py): instrument pre-call-checks for all openai endpoints

This commit is contained in:
Krrish Dholakia 2024-04-18 21:54:25 -07:00
parent 308a6e11f8
commit 5bb73dc9c0
3 changed files with 130 additions and 10 deletions

View file

@ -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: