Comment by jw1224
5 days ago
> When Claude Fable 5 declines a request, the Messages API returns stop_reason: "refusal" as a successful HTTP 200 response, not an error
This is precisely what comes to mind when I think “successful”.
5 days ago
> When Claude Fable 5 declines a request, the Messages API returns stop_reason: "refusal" as a successful HTTP 200 response, not an error
This is precisely what comes to mind when I think “successful”.
A missed opportunity to use the HTTP 451 status code.
https://en.wikipedia.org/wiki/HTTP_451
5 years ago, we may have expected that robots would write APIs that utilized every HTTP code, what we got was a json with a stringified error field..
Is refusal something that can happen mid-stream, after status and headers have been received? I haven't looked at the API