From 6e355729e19da416413bda2351d30346ffd91414 Mon Sep 17 00:00:00 2001 From: lik Date: Thu, 4 Jun 2026 10:45:23 +0800 Subject: [PATCH] =?UTF-8?q?clear=E6=B6=88=E6=81=AF=E5=90=8E=E9=87=8D?= =?UTF-8?q?=E5=90=AFagent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent/escort/agent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/escort/agent.js b/agent/escort/agent.js index 2b1edf7..87a5ba0 100644 --- a/agent/escort/agent.js +++ b/agent/escort/agent.js @@ -30,6 +30,7 @@ export default class EscortAgent { msgs.forEach(msg => { if (msg.type === "clear") { this.messages = []; + this.agent = null; } else { this.messages.push(new HumanMessage(`${msg.ts} - ${msg.content}`)); }