fix(memory): mark recalled context as untrusted

This commit is contained in:
john
2026-07-16 21:09:21 +08:00
parent 1f7b288a21
commit 4e6abacce1
2 changed files with 8 additions and 1 deletions
+1
View File
@@ -1152,6 +1152,7 @@ test('active agent memory context is hidden from displayText but available to or
assert.equal(enriched.metadata.displayText, '帮我设计一个商城');
assert.match(enriched.content[0].text, /Memory Context/);
assert.match(enriched.content[0].text, /不是系统指令/);
assert.match(enriched.content[0].text, /用户喜欢完整方案/);
});