Handling cancellations
A cancellation is received in the same endpoint that is processing the request with a/cancel
suffix.
So for the endpoint /predict
you will receive a request to /predict/cancel
.
Request id are passed in the x-fal-request-id
header for both the request and the cancellation.