🔧 chore(utils.py): add logging statement when no LLM cache is set to provide visibility and debugging information

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-11 14:20:04 -03:00
commit 15cd835a0c

View file

@ -89,3 +89,5 @@ def set_langchain_cache(settings):
logger.info(f"LLM caching setup with {cache_class.__name__}")
except ImportError:
logger.warning(f"Could not import {cache_type}. ")
else:
logger.info("No LLM cache set.")