langflow/src
Gabriel Luiz Freitas Almeida 89c2e5b064 🚀 feat(utils.py): add support for configurable LLM caching
This commit adds support for configurable LLM caching. The `setup_llm_caching` function now imports the cache class from the `langchain.cache` module based on the `settings.cache` value. If the import is successful, the `langchain.llm_cache` is set to an instance of the cache class. If the import fails, a warning is logged. If an exception is raised during the setup, a warning is logged with the error message.
2023-06-25 18:19:59 -03:00
..
backend 🚀 feat(utils.py): add support for configurable LLM caching 2023-06-25 18:19:59 -03:00
frontend Icons style - Lucide Icons (#529) 2023-06-23 18:34:52 -03:00