Remix.run Logo
jw1224 4 hours 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”.

speedgoose 4 hours ago | parent | next [-]

A missed opportunity to use the HTTP 451 status code.

https://en.wikipedia.org/wiki/HTTP_451

xpct 4 hours ago | parent [-]

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..

apitman 4 hours ago | parent | prev [-]

Is refusal something that can happen mid-stream, after status and headers have been received? I haven't looked at the API