refactor: unify SessionMemory and AgentHub storage to AgentScope Msg.to_dict() format
- refactor SessionMemory.add() to use Msg.to_dict(), rename agent_code to name - add remove_last() method for conditional cleanup - update get_messages() summary format to use Msg.to_dict() - adapt AgentHub to use Msg.from_dict() for history restoration - remove redundant agent_id/intent fields and sub-agent internal message save
Showing
1 changed file
with
0 additions
and
0 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment