From 5e98d1c8f292d2a1468faba976d8cc7261084e89 Mon Sep 17 00:00:00 2001 From: orion Date: Sat, 4 Apr 2026 17:58:57 +0000 Subject: [PATCH] feat: accept post heartbeats for calendar agents --- app/api/routers/calendar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/routers/calendar.py b/app/api/routers/calendar.py index 556cbf6..2afa97d 100644 --- a/app/api/routers/calendar.py +++ b/app/api/routers/calendar.py @@ -299,8 +299,9 @@ def _apply_agent_slot_update(slot: TimeSlot, payload: SlotAgentUpdate) -> None: slot.attended = True -@router.get( +@router.api_route( "/agent/heartbeat", + methods=["GET", "POST"], response_model=AgentHeartbeatResponse, summary="Get all due slots for the calling agent", )