In new version langgraph
langmem can't find CONFIG_KEY_STORE
"""
ImportError
cannot import name 'CONFIG_KEY_STORE' from 'langgraph.constants' (path\constants.py)
from langmem import create_manage_memory_tool, create_search_memory_tool
ImportError: cannot import name 'CONFIG_KEY_STORE' from 'langgraph.constants' (d:\Program\projects\python\wife.conda\Lib\site-packages\langgraph\constants.py)
"""
AI Fix langmem in the package
References to CONFIG_KEY_STORE, replacing them with implementations that are compatible with the new version of langgraph.
langmem_compat_patch.py
In new version langgraph
langmem can't find CONFIG_KEY_STORE
"""
ImportError
cannot import name 'CONFIG_KEY_STORE' from 'langgraph.constants' (path\constants.py)
from langmem import create_manage_memory_tool, create_search_memory_tool
ImportError: cannot import name 'CONFIG_KEY_STORE' from 'langgraph.constants' (d:\Program\projects\python\wife.conda\Lib\site-packages\langgraph\constants.py)
"""
AI Fix langmem in the package
References to CONFIG_KEY_STORE, replacing them with implementations that are compatible with the new version of langgraph.
langmem_compat_patch.py