struct

Anthropic::FallbackContent

Inherits JSON::Serializable < Struct < Value < Object

A fallback content block marking a model boundary in a message's content.

Surfaced via a content_block_start / content_block_stop pair during streaming (it carries no deltas). When the accumulator sees a fallback block start, the serving model becomes block.to.model.

Constructors

new(from : FallbackInfo, to : FallbackInfo, trigger : FallbackRefusalTrigger = FallbackRefusalTrigger.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

from
Source
trigger
Source
type
Source