新增robot;调整engineer

This commit is contained in:
2025-01-13 18:17:27 +08:00
parent 5f9111948b
commit 6fcac50416
7 changed files with 186 additions and 32 deletions

View File

@@ -120,7 +120,6 @@ class SocietyOfMindAgent(BaseChatAgent):
) -> AsyncGenerator[AgentEvent | ChatMessage | Response, None]:
# Prepare the task for the team of agents.
task = list(messages)
task = [t for t in task if t.source!="PlanningAgent"][-2:]
# Run the team of agents.
result: TaskResult | None = None