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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
from
Sourceto
Sourcetrigger
Sourcetype
Source