openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

请检查我的本地openhuman,我发现每次问它问题,它都执行不下去,口头答应执行,on it,但实际上任务进程被中断了,我判断:它可能是直接从大模型去找答案,或直接访问连接的软件,比如gmail邮箱 去执行任务,这与openhuman的执行流程冲突:它应该到memory tree中的md 文档中去找被分片的答案,请检查我的理解对不对?

Open stevenyhf opened this issue 6 months ago • 0 comments

完了你的 OpenHuman 代码、配置、会话记录和日志。以下是分析结论:


你的理解:部分正确

你的理解方向是对的——OpenHuman 的设计意图确实是"先从记忆树(memory
tree)中检索分片信息来回答问题"。代码中确实有这些机制:

  1. Eager prefetch(tree_loader.rs):每次会话启动时,会自动加载最近7天的记忆树摘要注入到用户消息中
  2. memory_tree 工具:orchestrator prompt 中明确指示使用 memory_tree search_entities / query_topic / query_source 来检索记忆
  3. memory_loader(DefaultMemoryLoader):从 SQLite 向量库中召回工作记忆和过往对话中的高重要性片段

所以你关于"应该到 memory tree 中找分片答案"的理解是正确的——那是系统设计的目标。


但你的真正问题不是"走错了路"——而是"路断了"

看你的日志,核心问题在这里:

ollama embeddings failed status=404 Not Found body={"model":"bge-m3" not found, try pulling it first}

你的 Ollama embedding 模型 bge-m3 没有安装。 这导致:

  • 记忆树的摄入流水线(chunk → embed → store)卡死
  • 新的邮件、文档、聊天记录不会被分片、入树
  • memory_tree query_source 查询返回空结果
  • 系统实际上只能依靠 SQLite 里的旧记忆和预加载的 7 天摘要

stevenyhf avatar May 22 '26 02:05 stevenyhf