RefusalContentBlock()An explicit refusal reported by the model provider.
Providers report refusals differently: OpenAI returns refusal content, while Anthropic reports a refusal stop reason on the response. Both are represented as this block so callers can detect a refusal without provider-specific code. Refusals the model writes as ordinary text are not detected.