Hey, I saw some debate on X about Claude refusals....
# proj-agent
a
Hey, I saw some debate on X about Claude refusals. Harris ran 200+ ML research requests through Claude’s API, then replayed recorded refusals through several agent harnesses. He found that the same refusal could show up as a timeout, a crash, or an empty response depending on the harness. That made me curious how OpenHands handles it. Harris’s writeup I replayed two of his examples and added one where Claude starts answering and then refuses mid-stream. In that test, the provider explicitly signaled a refusal, but Canvas showed half a code block and a green check. The SDK had recorded the run as finished. I get this is a bit of an edge issue, but we should record a provider-refusal event and give the run a
REFUSED
status when that’s why it stopped. Then Canvas can tell the user what happened and mark any partial answer as incomplete.