fix redis

This commit is contained in:
Cyberes 2023-08-22 00:01:32 -06:00
parent 7d23f95d26
commit d250ba6484
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
from flask_caching import Cache
cache = Cache(config={'CACHE_TYPE': 'redis', 'CACHE_REDIS_URL': 'redis://localhost:6379/0'})
cache = Cache(config={'CACHE_TYPE': 'RedisCache', 'CACHE_REDIS_URL': 'redis://localhost:6379/0', 'CACHE_KEY_PREFIX': 'local-llm'})