The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(compression): drop duplicated snapshot sentence from task prompt
kshitijk4poorad4e4496c268
diff --git a/agent/context_compressor.py b/agent/context_compressor.pyindex fef4269ec14..b7c62fcb16c 100644--- a/agent/context_compressor.py+++ b/agent/context_compressor.py@@ -2019,7 +2019,7 @@ This historical snapshot must identify the latest unresolved user input preciselIf the user's most recent message was a reverse signal (stop, undo, rollback, never mind, just verify, change of topic) that supersedes earlierwork, describe the reverse signal accurately and DO NOT carry forward the-cancelled task. The compressor inserts the source-grounded snapshot afterward.+cancelled task.Example: "User asked to stop the prior task — earlier work is cancelled."If no outstanding task exists, write "None."]""","goal": "[What the user is trying to accomplish overall]",