mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-09-01 00:31:51 +03:00
fix(memory): avoid re-archiving recent history
This commit is contained in:
@@ -240,6 +240,7 @@ class TestConsolidatorPromptContract:
|
||||
for mark in ("[permanent]", "[durable]", "[ephemeral]", "[correction]", "[skip]"):
|
||||
assert mark in prompt
|
||||
assert "check context below" not in prompt.lower()
|
||||
assert "Do not output facts already present in the system prompt's Recent History" in prompt
|
||||
assert "Do not mark something [skip] merely because it might already exist" in prompt
|
||||
|
||||
class TestConsolidatorArchiveErrorHandling:
|
||||
|
||||
Reference in New Issue
Block a user