feat: accept post heartbeats for calendar agents
This commit is contained in:
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user