Class: Anthropic::Models::Beta::BetaRawMessageDeltaEvent::Delta

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_raw_message_delta_event.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from Anthropic::Internal::Type::BaseModel

Instance Attribute Details

#containerAnthropic::Models::Beta::BetaContainer?

Information about the container used in the request (for the code execution tool)



62
# File 'lib/anthropic/models/beta/beta_raw_message_delta_event.rb', line 62

required :container, -> { Anthropic::Beta::BetaContainer }, nil?: true

#stop_reasonSymbol, ...

Returns:



67
# File 'lib/anthropic/models/beta/beta_raw_message_delta_event.rb', line 67

required :stop_reason, enum: -> { Anthropic::Beta::BetaStopReason }, nil?: true

#stop_sequenceString?

Returns:

  • (String, nil)


72
# File 'lib/anthropic/models/beta/beta_raw_message_delta_event.rb', line 72

required :stop_sequence, String, nil?: true