次の方法で共有


StreamingUpdateReason Enum

Definition

The collection of values associated with the event names of streaming update payloads. These correspond to the expected downcast data type of the StreamingUpdate as well as to the expected data present in the payload.

public enum StreamingUpdateReason
type StreamingUpdateReason = 
Public Enum StreamingUpdateReason
Inheritance
StreamingUpdateReason

Fields

Name Value Description
Unknown 0

Indicates that there is no known reason associated with the streaming update.

ThreadCreated 1

Indicates that an update was generated as part of a thread.created event.

RunCreated 2

Indicates that an update was generated as part of a thread.run.created event.

RunQueued 3

Indicates that an update was generated as part of a thread.run.queued event.

RunInProgress 4

Indicates that an update was generated as part of a thread.run.in_progress event.

RunRequiresAction 5

Indicates that an update was generated as part of a thread.run.requires_action event.

RunCompleted 6

Indicates that an update was generated as part of a thread.run.completed event.

RunIncomplete 7

Indicates that an update was generated as part of a thread.run.incomplete event.

RunFailed 8

Indicates that an update was generated as part of a thread.run.failed event.

RunCancelling 9

Indicates that an update was generated as part of a thread.run.cancelling event.

RunCancelled 10

Indicates that an update was generated as part of a thread.run.cancelled event.

RunExpired 11

Indicates that an update was generated as part of a thread.run.expired event.

RunStepCreated 12

Indicates that an update was generated as part of a thread.run.step.created event.

RunStepInProgress 13

Indicates that an update was generated as part of a thread.run.step.in_progress event.

RunStepUpdated 14

Indicates that an update was generated as part of a thread.run.step.delta event.

RunStepCompleted 15

Indicates that an update was generated as part of a thread.run.step.completed event.

RunStepFailed 16

Indicates that an update was generated as part of a thread.run.step.failed event.

RunStepCancelled 17

Indicates that an update was generated as part of a thread.run.step.cancelled event.

RunStepExpired 18

Indicates that an update was generated as part of a thread.run.step.expired event.

MessageCreated 19

Indicates that an update was generated as part of a thread.message.created event.

MessageInProgress 20

Indicates that an update was generated as part of a thread.message.in_progress event.

MessageUpdated 21

Indicates that an update was generated as part of a thread.message.delta event.

MessageCompleted 22

Indicates that an update was generated as part of a thread.message.completed event.

MessageFailed 23

Indicates that an update was generated as part of a thread.message.failed event.

Error 24

Indicates that an update was generated as part of a thread.message.error event.

Done 25

Indicates the end of streaming update events. This value should never be typically observed.

Applies to