Agent 在 context 中看到了知识但不一定会用。即使指令写了"不可跳过",Agent 的惯性行为是直接执行任务、跳过检索。
Agent 在 context 中看到了知识但不一定会用。即使指令写了"不可跳过",Agent 的惯性行为是直接执行任务、跳过检索。
"搜 lessons/" "搜 reference/" 等指令是建议,Agent 可以跳过而不产生任何可见后果。
把知识检索从"建议"改为硬性 Output gate:
echo "Lesson: phase 0 output gate"
wc -l lessons/contrib/phase-0-output-gate.mdExpected Output:
Lesson: phase 0 output gate
# (line count)Agent 可以忽略上下文的建议,但不能凭空编出完整的检索报告。用户能看到输出结果——如果没读文件,摘要就是空的。