docs(memories): fix ModuleNotFoundError for MemoryConfigFactory import#476
Draft
Memtensor-AI wants to merge 1 commit into
Draft
docs(memories): fix ModuleNotFoundError for MemoryConfigFactory import#476Memtensor-AI wants to merge 1 commit into
Memtensor-AI wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
content/cn/open_source/modules/memories/kv_cache_memory.md中的命令执行失败:from memos.configs.memory import MemoryConfigFactory→ ModuleNotFoundErrorRoot Cause
outdated_command-memos模块的结构或名称在 v2.0 中可能已更改,导致无法找到该模块。修复内容
from memos.configs.memory import MemoryConfigFactory修改为正确的导入路径,以确保能够找到MemoryConfigFactory。具体的导入路径需要根据最新的模块结构进行确认。Doc Agent patches
未应用,请人工处理 (1)
content/cn/open_source/modules/memories/kv_cache_memory.md(line_replace) — find 在文件中出现 2 次,无法精确替换