Update.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user