openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

检查一下,为何我已连接了我的github notion youtube x 等并发布了相关任务,openhuman也接到任务去执行,为何我的memory tree中只有gmail文件夹和信息,而没有同样也连接了并有交互的github等的文件夹和文件信息?

Open stevenyhf opened this issue 6 months ago • 0 comments

找到根本原因了。这不是配置问题,而是 OpenHuman 的设计只对部分服务实现了数据摄入(data ingestion)管道。


结论

只有 Gmail(和 Slack)有完整的记忆树数据摄入管道。 其他服务(GitHub、X/Twitter、Notion、YouTube、Reddit 等)只是作为工具执行通道连接的——代理能操作它们(创建 PR、发推文、读
Notion),但数据不会被拉取、分片、存入记忆树。
Gmail 入记忆树的全链路:
Composio Gmail API → gmail/provider.rs → gmail/ingest.rs → memory/tree/ingest/ingest_email() → chunk → embed(bge-m3)
→ 写 raw markdown → tree_source 注册 → tree_topic 摘要

GitHub 等其他服务:
Composio GitHub API → github/tools.rs(纯工具函数)
→ delegate_github(代理执行操作)→ 操作结果返回给 LLM
→ 不进入 memory tree

为什么这样设计

Gmail/Slack/Notion 是数据源(长期存储的历史数据),而 GitHub/X/YouTube
等更多是操作目标(执行一个动作然后丢掉)。OpenHuman 只对前者做了 ingest 管道。即使你的 GitHub
连接了,代理执行了操作,这些执行记录默认不会回流到记忆树中做持久化。

stevenyhf avatar May 22 '26 03:05 stevenyhf