fix(vector_store): 修复 ids 列表检查逻辑,避免 numpy 数组歧义

fix(memory_tools): 优化邻居节点数据检查逻辑,确保嵌入数据有效
fix(manager): 更新配置项名称为 search_max_expand_depth
This commit is contained in:
Windpicker-owo
2025-11-06 19:52:32 +08:00
parent 687e627ef6
commit 306749731e
3 changed files with 25 additions and 14 deletions

View File

@@ -137,7 +137,7 @@ class MemoryManager:
graph_store=self.graph_store,
persistence_manager=self.persistence,
embedding_generator=self.embedding_generator,
max_expand_depth=getattr(self.config, 'max_expand_depth', 1), # 从配置读取默认深度
max_expand_depth=getattr(self.config, 'search_max_expand_depth', 1), # 从配置读取默认深度
)
self._initialized = True