implemenation on the ai agents and registry

This commit is contained in:
2026-09-30 14:56:08 +05:30
parent aa3bb35733
commit 5a7d32cc04
15 changed files with 803 additions and 72 deletions

View File

@@ -280,7 +280,9 @@ class MasterAgent(Agent):
task_id=f"{order_id}_validate",
agent_type="order",
task_type="validate_order",
data={"order": order_data}
# OrderAgent._validate_order reads `order_id`; sending only
# {"order": ...} made every orchestrated order "not found".
data={"order_id": order_id, "order": order_data}
))
customer_agent = self._sub_agents.get("CUSTOMER_AGENT")