Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
Union of all possible event types emitted during response streaming

Supported Types

components.ErrorEvent

value: components.ErrorEvent = /* values here */

components.ApplyPatchCallOperationDiffDeltaEvent

value: components.ApplyPatchCallOperationDiffDeltaEvent = /* values here */

components.ApplyPatchCallOperationDiffDoneEvent

value: components.ApplyPatchCallOperationDiffDoneEvent = /* values here */

components.StreamEventsResponseCompleted

value: components.StreamEventsResponseCompleted = /* values here */

components.ContentPartAddedEvent

value: components.ContentPartAddedEvent = /* values here */

components.ContentPartDoneEvent

value: components.ContentPartDoneEvent = /* values here */

components.OpenResponsesCreatedEvent

value: components.OpenResponsesCreatedEvent = /* values here */

components.CustomToolCallInputDeltaEvent

value: components.CustomToolCallInputDeltaEvent = /* values here */

components.CustomToolCallInputDoneEvent

value: components.CustomToolCallInputDoneEvent = /* values here */

components.StreamEventsResponseFailed

value: components.StreamEventsResponseFailed = /* values here */

components.FunctionCallArgsDeltaEvent

value: components.FunctionCallArgsDeltaEvent = /* values here */

components.FunctionCallArgsDoneEvent

value: components.FunctionCallArgsDoneEvent = /* values here */

components.ImageGenCallCompletedEvent

value: components.ImageGenCallCompletedEvent = /* values here */

components.ImageGenCallGeneratingEvent

value: components.ImageGenCallGeneratingEvent = /* values here */

components.ImageGenCallInProgressEvent

value: components.ImageGenCallInProgressEvent = /* values here */

components.ImageGenCallPartialImageEvent

value: components.ImageGenCallPartialImageEvent = /* values here */

components.OpenResponsesInProgressEvent

value: components.OpenResponsesInProgressEvent = /* values here */

components.StreamEventsResponseIncomplete

value: components.StreamEventsResponseIncomplete = /* values here */

components.StreamEventsResponseOutputItemAdded

value: components.StreamEventsResponseOutputItemAdded = /* values here */

components.StreamEventsResponseOutputItemDone

value: components.StreamEventsResponseOutputItemDone = /* values here */

components.AnnotationAddedEvent

value: components.AnnotationAddedEvent = /* values here */

components.TextDeltaEvent

value: components.TextDeltaEvent = /* values here */

components.TextDoneEvent

value: components.TextDoneEvent = /* values here */

components.ReasoningSummaryPartAddedEvent

value: components.ReasoningSummaryPartAddedEvent = /* values here */

components.ReasoningSummaryPartDoneEvent

value: components.ReasoningSummaryPartDoneEvent = /* values here */

components.ReasoningSummaryTextDeltaEvent

value: components.ReasoningSummaryTextDeltaEvent = /* values here */

components.ReasoningSummaryTextDoneEvent

value: components.ReasoningSummaryTextDoneEvent = /* values here */

components.ReasoningDeltaEvent

value: components.ReasoningDeltaEvent = /* values here */

components.ReasoningDoneEvent

value: components.ReasoningDoneEvent = /* values here */

components.RefusalDeltaEvent

value: components.RefusalDeltaEvent = /* values here */

components.RefusalDoneEvent

value: components.RefusalDoneEvent = /* values here */

components.WebSearchCallCompletedEvent

value: components.WebSearchCallCompletedEvent = /* values here */

components.WebSearchCallInProgressEvent

value: components.WebSearchCallInProgressEvent = /* values here */

components.WebSearchCallSearchingEvent

value: components.WebSearchCallSearchingEvent = /* values here */