This commit is contained in:
2025-11-04 05:57:23 +01:00
parent 3f979d2bbd
commit 685766ef86
16 changed files with 787 additions and 55 deletions
+2 -2
View File
@@ -164,7 +164,7 @@ Break down the task and delegate subtasks to appropriate agents. Coordinate thei
return results
def get_session_summary(self) -> Dict[str, Any]:
def get_session_summary(self) -> str:
summary = {
'session_id': self.session_id,
'active_agents': len(self.active_agents),
@@ -178,7 +178,7 @@ Break down the task and delegate subtasks to appropriate agents. Coordinate thei
for agent_id, agent in self.active_agents.items()
]
}
return summary
return json.dumps(summary)
def clear_session(self):
self.active_agents.clear()