Class: Anthropic::Helpers::Streaming::MessageStopEvent
- Inherits:
-
Models::RawMessageStopEvent
- Object
- Internal::Type::BaseModel
- Models::RawMessageStopEvent
- Anthropic::Helpers::Streaming::MessageStopEvent
- Defined in:
- lib/anthropic/helpers/streaming/events.rb,
sig/anthropic/helpers/streaming/events.rbs
Instance Attribute Summary collapse
-
#message ⇒ Anthropic::Models::Message
The completed message when streaming ends.
- #type ⇒ Symbol, :message_stop
Instance Method Summary collapse
- #initialize ⇒ Object constructor
Methods inherited from Models::RawMessageStopEvent
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, 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
#initialize ⇒ Object
89 |
# File 'sig/anthropic/helpers/streaming/events.rbs', line 89
def initialize: (
|
Instance Attribute Details
#message ⇒ Anthropic::Models::Message
The completed message when streaming ends.
131 |
# File 'lib/anthropic/helpers/streaming/events.rb', line 131 required :message, Anthropic::Models::Message |
#type ⇒ Symbol, :message_stop
125 |
# File 'lib/anthropic/helpers/streaming/events.rb', line 125 required :type, const: :message_stop |