mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix(openai-proxy/utils.py): remove print statements
This commit is contained in:
parent
a660d88717
commit
c4b550cfda
1 changed files with 0 additions and 1 deletions
|
@ -16,7 +16,6 @@ def set_callbacks():
|
|||
|
||||
## CACHING
|
||||
### REDIS
|
||||
print(f"redis host: {len(os.getenv('REDIS_HOST', ''))}; redis port: {len(os.getenv('REDIS_PORT', ''))}; redis password: {len(os.getenv('REDIS_PASSWORD'))}")
|
||||
if len(os.getenv("REDIS_HOST", "")) > 0 and len(os.getenv("REDIS_PORT", "")) > 0 and len(os.getenv("REDIS_PASSWORD", "")) > 0:
|
||||
from litellm.caching import Cache
|
||||
litellm.cache = Cache(type="redis", host=os.getenv("REDIS_HOST"), port=os.getenv("REDIS_PORT"), password=os.getenv("REDIS_PASSWORD"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue