refactor: DispatchAgent watcher, ExceptionAgent consumer fix, JARVIS cleanup

This commit is contained in:
2026-07-01 13:07:54 +05:30
parent f49193ee73
commit 377ee710a7
3 changed files with 183 additions and 318 deletions

View File

@@ -495,10 +495,6 @@ class ExceptionAgent(SpecializedAgent):
detected_at=datetime.now(), resolved_at=None, resolution=None,
assigned_to=None, status="resolving",
)
await self.send_message(
recipient="DISPATCH_AGENT", message_type=MessageType.AGENT_TASK,
payload={"task_type": "reschedule_route", "order_id": order_id, "new_date": new_date},
)
await self.send_message(
recipient="CUSTOMER_AGENT", message_type=MessageType.NOTIFICATION_SENT,
payload={"order_id": order_id, "message_type": "rescheduled",