[GH-ISSUE #1081] langchain.cache does not exist, conflicting with documentation #144

Closed
opened 2026-02-17 17:19:16 -05:00 by yindo · 0 comments
Owner

Originally created by @askarkg12 on GitHub (Oct 21, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/1081

According to https://docs.langchain.com/oss/python/integrations/providers/redis , functionality of langchain_redis has been moved to langchain.cache, at least this is my interpretation. Since it seems that langchain_redis was not released with support of langchain v1.0.

However, trying to import RedisCache via from langchain.cache import RedisCache results in No module named 'langchain.cache'.

Is this a documentation issue or a bug? If langchain_redis is due to be upgraded to support v1.0, then the documentation needs to be updated. Otherwise this is a bug

Originally created by @askarkg12 on GitHub (Oct 21, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/1081 According to [https://docs.langchain.com/oss/python/integrations/providers/redis](url) , functionality of `langchain_redis` has been moved to `langchain.cache`, at least this is my interpretation. Since it seems that `langchain_redis` was not released with support of `langchain v1.0`. However, trying to import RedisCache via `from langchain.cache import RedisCache` results in `No module named 'langchain.cache'`. Is this a documentation issue or a bug? If `langchain_redis` is due to be upgraded to support v1.0, then the documentation needs to be updated. Otherwise this is a bug
yindo closed this issue 2026-02-17 17:19:16 -05:00
yindo changed title from langchain.cache does not exist, conflicting with documentation to [GH-ISSUE #1081] langchain.cache does not exist, conflicting with documentation 2026-06-05 17:25:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#144