Skip to content

Version conflicts #132

@zht-git-0

Description

@zht-git-0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions