Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llm_cache no longer supported from root module #198

Open
AndyMik90 opened this issue Oct 15, 2023 · 1 comment
Open

llm_cache no longer supported from root module #198

AndyMik90 opened this issue Oct 15, 2023 · 1 comment

Comments

@AndyMik90
Copy link

AndyMik90 commented Oct 15, 2023

Got the code up and running locally, but getting warning:

"/venv/lib/python3.11/site-packages/langchain/__init__.py:34: UserWarning: Importing llm_cache from langchain root module is no longer supported. Please use langchain.globals.set_llm_cache() / langchain.globals.get_llm_cache() instead.
  warnings.warn("

But llm_cache is not used directly in the main.py

@AndyMik90 AndyMik90 changed the title llm_cache no longer supported from roort module llm_cache no longer supported from root module Oct 15, 2023
@BlackSiao
Copy link

same issue, did you solve that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants