Commit 8f2f3703 by sunqi02 Committed by 胡悦

refactor: adapt MessageGate mem.add() to new name parameter

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 5475c98e
......@@ -261,7 +261,7 @@ class MessageGate:
)
mem = SessionMemory(session_id, store)
mem.add("user", merged_text)
mem.add("assistant", decision.reply, agent_code=self.main_agent_key)
mem.add("assistant", decision.reply, name=self.main_agent_key)
# 清空 intent_session
data = store.get(session_id) or {}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!