Module: OpenAI::Models::Beta::RunStepStreamEvent

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

Overview

Occurs when a [run step](platform.openai.com/docs/api-reference/run-steps/step-object) is created.

Defined Under Namespace

Classes: ThreadRunStepCancelled, ThreadRunStepCompleted, ThreadRunStepCreated, ThreadRunStepDelta, ThreadRunStepExpired, ThreadRunStepFailed, ThreadRunStepInProgress

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, type_info

Instance Method Details

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

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

Occurs when a [run step](platform.openai.com/docs/api-reference/run-steps/step-object) is cancelled.

Parameters:



# File 'lib/openai/models/beta/run_step_stream_event.rb', line 50