AssistantStreamEventType
Represents an event type emitted when streaming a Run.
Entries
Occurs when a new thread is created.
Occurs when a new run is created.
Occurs when a run moves to a queued status.
Occurs when a run moves to an in_progress status.
Occurs when a run moves to a requires_action status.
Occurs when a run is completed.
Occurs when a run ends with status incomplete.
Occurs when a run fails.
Occurs when a run moves to a cancelling status.
Occurs when a run is cancelled.
Occurs when a run expires.
Occurs when a run step is created.
Occurs when a run step moves to an in_progress state.
Occurs when parts of a run step are being streamed.
Occurs when a run step is completed.
Occurs when a run step fails.
Occurs when a run step is cancelled.
Occurs when a run step expires.
Occurs when a message is created.
Occurs when a message moves to an in_progress state.
Occurs when parts of a Message are being streamed.
Occurs when a message is completed.
Occurs when a message ends before it is completed.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.