Exception: Raif::Errors::RefusalError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/raif/errors/refusal_error.rb

Overview

Not in the default llm_request_retriable_exceptions: a refusal is a verdict on the prompt, so resending the same prompt pays for the same refusal again.