Module: OpenAI::Models::Beta::RunStreamEvent

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/run_stream_event.rb

Overview

Occurs when a new run is created.

Defined Under Namespace

Classes: ThreadRunCancelled, ThreadRunCancelling, ThreadRunCompleted, ThreadRunCreated, ThreadRunExpired, ThreadRunFailed, ThreadRunInProgress, ThreadRunIncomplete, ThreadRunQueued, ThreadRunRequiresAction

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Instance Method Details

#initialize(data: , event: :"thread.run.cancelled") ⇒ void

Some parameter documentations has been truncated, see ThreadRunCancelled for more details.

Occurs when a run is cancelled.

Parameters:



# File 'lib/openai/models/beta/run_stream_event.rb', line 56