refactor: unify SessionMemory storage to AgentScope Msg.to_dict() format
- add() uses Msg.to_dict() internally, content supports str | list[dict] - rename agent_code param to name, mapping to Msg.name - add remove_last() for conditional cleanup - fix summary truncation to use standard format - drop redundant agent_id/intent fields Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
1 changed file
with
31 additions
and
13 deletions
-
Please register or sign in to post a comment