From 7c1026e210f9d73d35ab78b16c0ee0416bb7785c Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 28 Mar 2025 13:31:54 -0700 Subject: [PATCH] test(test_caching_handler.py): move to in-memory cache - prevent redis flakiness from impacting ci/cd --- tests/local_testing/test_caching_handler.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/local_testing/test_caching_handler.py b/tests/local_testing/test_caching_handler.py index c2466000c4..c0e3b8d306 100644 --- a/tests/local_testing/test_caching_handler.py +++ b/tests/local_testing/test_caching_handler.py @@ -40,12 +40,7 @@ import logging def setup_cache(): # Set up the cache - cache = Cache( - type=LiteLLMCacheType.REDIS, - host=os.environ["REDIS_HOST"], - port=os.environ["REDIS_PORT"], - password=os.environ["REDIS_PASSWORD"], - ) + cache = Cache(type=LiteLLMCacheType.LOCAL) litellm.cache = cache return cache