按照官网的说法(KNOWLEDGE.md 全文进 <domain_knowledge_context>; 同目录下其它文件(任意深度)只列路径清单进 prompt,让 agent 用 read_file / grep_files / glob_files 按需读取。)<agent-id>/knowledge文件夹下的KNOWLEDGE.md以及其他文件的路径清单都能够正常注入,但是读取文件内容时却找不到指定的文件。 <img width="1257" height="256" alt="Image" src="https://github.com/user-attachments/assets/47ce7396-977e-4451-b13e-a6c47b9f0023" /> 只有当我将文件放在<agent-id>/<user-id>/knowledge用户隔离区时文件才能够正常读取到。 <img width="1573" height="243" alt="Image" src="https://github.com/user-attachments/assets/5a8d6d0e-e7a4-4351-b53d-b597a01808c9" /> 如果是正常的情况是否应该是:优先读取用户隔离区中的/knowledge,当用户隔离区中未找到相应的文件时就会读取agent工作区中的/knowledge?
Activity