Class ResponseStreamEvent
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseStreamEventEmitted when there is a partial audio response.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceResponseStreamEvent.VisitorAn interface that defines how to map each variant of ResponseStreamEvent to a value of type T.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Optional<ResponseAudioDeltaEvent>audioDelta()Emitted when there is a partial audio response. final Optional<ResponseAudioDoneEvent>audioDone()Emitted when the audio response is complete. final Optional<ResponseAudioTranscriptDeltaEvent>audioTranscriptDelta()Emitted when there is a partial transcript of audio. final Optional<ResponseAudioTranscriptDoneEvent>audioTranscriptDone()Emitted when the full audio transcript is completed. final Optional<ResponseCodeInterpreterCallCodeDeltaEvent>codeInterpreterCallCodeDelta()Emitted when a partial code snippet is streamed by the code interpreter. final Optional<ResponseCodeInterpreterCallCodeDoneEvent>codeInterpreterCallCodeDone()Emitted when the code snippet is finalized by the code interpreter. final Optional<ResponseCodeInterpreterCallCompletedEvent>codeInterpreterCallCompleted()Emitted when the code interpreter call is completed. final Optional<ResponseCodeInterpreterCallInProgressEvent>codeInterpreterCallInProgress()Emitted when a code interpreter call is in progress. final Optional<ResponseCodeInterpreterCallInterpretingEvent>codeInterpreterCallInterpreting()Emitted when the code interpreter is actively interpreting the code snippet. final Optional<ResponseCompletedEvent>completed()Emitted when the model response is complete. final Optional<ResponseContentPartAddedEvent>contentPartAdded()Emitted when a new content part is added. final Optional<ResponseContentPartDoneEvent>contentPartDone()Emitted when a content part is done. final Optional<ResponseCreatedEvent>created()An event that is emitted when a response is created. final Optional<ResponseErrorEvent>error()Emitted when an error occurs. final Optional<ResponseFileSearchCallCompletedEvent>fileSearchCallCompleted()Emitted when a file search call is completed (results found). final Optional<ResponseFileSearchCallInProgressEvent>fileSearchCallInProgress()Emitted when a file search call is initiated. final Optional<ResponseFileSearchCallSearchingEvent>fileSearchCallSearching()Emitted when a file search is currently searching. final Optional<ResponseFunctionCallArgumentsDeltaEvent>functionCallArgumentsDelta()Emitted when there is a partial function-call arguments delta. final Optional<ResponseFunctionCallArgumentsDoneEvent>functionCallArgumentsDone()Emitted when function-call arguments are finalized. final Optional<ResponseInProgressEvent>inProgress()Emitted when the response is in progress. final Optional<ResponseFailedEvent>failed()An event that is emitted when a response fails. final Optional<ResponseIncompleteEvent>incomplete()An event that is emitted when a response finishes as incomplete. final Optional<ResponseOutputItemAddedEvent>outputItemAdded()Emitted when a new output item is added. final Optional<ResponseOutputItemDoneEvent>outputItemDone()Emitted when an output item is marked done. final Optional<ResponseReasoningSummaryPartAddedEvent>reasoningSummaryPartAdded()Emitted when a new reasoning summary part is added. final Optional<ResponseReasoningSummaryPartDoneEvent>reasoningSummaryPartDone()Emitted when a reasoning summary part is completed. final Optional<ResponseReasoningSummaryTextDeltaEvent>reasoningSummaryTextDelta()Emitted when a delta is added to a reasoning summary text. final Optional<ResponseReasoningSummaryTextDoneEvent>reasoningSummaryTextDone()Emitted when a reasoning summary text is completed. final Optional<ResponseRefusalDeltaEvent>refusalDelta()Emitted when there is a partial refusal text. final Optional<ResponseRefusalDoneEvent>refusalDone()Emitted when refusal text is finalized. final Optional<ResponseTextDeltaEvent>outputTextDelta()Emitted when there is an additional text delta. final Optional<ResponseTextDoneEvent>outputTextDone()Emitted when text content is finalized. final Optional<ResponseWebSearchCallCompletedEvent>webSearchCallCompleted()Emitted when a web search call is completed. final Optional<ResponseWebSearchCallInProgressEvent>webSearchCallInProgress()Emitted when a web search call is initiated. final Optional<ResponseWebSearchCallSearchingEvent>webSearchCallSearching()Emitted when a web search call is executing. final Optional<ResponseImageGenCallCompletedEvent>imageGenerationCallCompleted()Emitted when an image generation tool call has completed and the final image is available. final Optional<ResponseImageGenCallGeneratingEvent>imageGenerationCallGenerating()Emitted when an image generation tool call is actively generating an image (intermediate state). final Optional<ResponseImageGenCallInProgressEvent>imageGenerationCallInProgress()Emitted when an image generation tool call is in progress. final Optional<ResponseImageGenCallPartialImageEvent>imageGenerationCallPartialImage()Emitted when a partial image is available during image generation streaming. final Optional<ResponseMcpCallArgumentsDeltaEvent>mcpCallArgumentsDelta()Emitted when there is a delta (partial update) to the arguments of an MCP tool call. final Optional<ResponseMcpCallArgumentsDoneEvent>mcpCallArgumentsDone()Emitted when the arguments for an MCP tool call are finalized. final Optional<ResponseMcpCallCompletedEvent>mcpCallCompleted()Emitted when an MCP tool call has completed successfully. final Optional<ResponseMcpCallFailedEvent>mcpCallFailed()Emitted when an MCP tool call has failed. final Optional<ResponseMcpCallInProgressEvent>mcpCallInProgress()Emitted when an MCP tool call is in progress. final Optional<ResponseMcpListToolsCompletedEvent>mcpListToolsCompleted()Emitted when the list of available MCP tools has been successfully retrieved. final Optional<ResponseMcpListToolsFailedEvent>mcpListToolsFailed()Emitted when the attempt to list available MCP tools has failed. final Optional<ResponseMcpListToolsInProgressEvent>mcpListToolsInProgress()Emitted when the system is in the process of retrieving the list of available MCP tools. final Optional<ResponseOutputTextAnnotationAddedEvent>outputTextAnnotationAdded()Emitted when an annotation is added to output text content. final Optional<ResponseQueuedEvent>queued()Emitted when a response is queued and waiting to be processed. final Optional<ResponseReasoningDeltaEvent>reasoningDelta()Emitted when there is a delta (partial update) to the reasoning content. final Optional<ResponseReasoningDoneEvent>reasoningDone()Emitted when the reasoning content is finalized for an item. final Optional<ResponseReasoningSummaryDeltaEvent>reasoningSummaryDelta()Emitted when there is a delta (partial update) to the reasoning summary content. final Optional<ResponseReasoningSummaryDoneEvent>reasoningSummaryDone()Emitted when the reasoning summary content is finalized for an item. final BooleanisAudioDelta()final BooleanisAudioDone()final BooleanisAudioTranscriptDelta()final BooleanisAudioTranscriptDone()final BooleanisCodeInterpreterCallCodeDelta()final BooleanisCodeInterpreterCallCodeDone()final BooleanisCodeInterpreterCallCompleted()final BooleanisCodeInterpreterCallInProgress()final BooleanisCodeInterpreterCallInterpreting()final BooleanisCompleted()final BooleanisContentPartAdded()final BooleanisContentPartDone()final BooleanisCreated()final BooleanisError()final BooleanisFileSearchCallCompleted()final BooleanisFileSearchCallInProgress()final BooleanisFileSearchCallSearching()final BooleanisFunctionCallArgumentsDelta()final BooleanisFunctionCallArgumentsDone()final BooleanisInProgress()final BooleanisFailed()final BooleanisIncomplete()final BooleanisOutputItemAdded()final BooleanisOutputItemDone()final BooleanisReasoningSummaryPartAdded()final BooleanisReasoningSummaryPartDone()final BooleanisReasoningSummaryTextDelta()final BooleanisReasoningSummaryTextDone()final BooleanisRefusalDelta()final BooleanisRefusalDone()final BooleanisOutputTextDelta()final BooleanisOutputTextDone()final BooleanisWebSearchCallCompleted()final BooleanisWebSearchCallInProgress()final BooleanisWebSearchCallSearching()final BooleanisImageGenerationCallCompleted()final BooleanisImageGenerationCallGenerating()final BooleanisImageGenerationCallInProgress()final BooleanisImageGenerationCallPartialImage()final BooleanisMcpCallArgumentsDelta()final BooleanisMcpCallArgumentsDone()final BooleanisMcpCallCompleted()final BooleanisMcpCallFailed()final BooleanisMcpCallInProgress()final BooleanisMcpListToolsCompleted()final BooleanisMcpListToolsFailed()final BooleanisMcpListToolsInProgress()final BooleanisOutputTextAnnotationAdded()final BooleanisQueued()final BooleanisReasoningDelta()final BooleanisReasoningDone()final BooleanisReasoningSummaryDelta()final BooleanisReasoningSummaryDone()final ResponseAudioDeltaEventasAudioDelta()Emitted when there is a partial audio response. final ResponseAudioDoneEventasAudioDone()Emitted when the audio response is complete. final ResponseAudioTranscriptDeltaEventasAudioTranscriptDelta()Emitted when there is a partial transcript of audio. final ResponseAudioTranscriptDoneEventasAudioTranscriptDone()Emitted when the full audio transcript is completed. final ResponseCodeInterpreterCallCodeDeltaEventasCodeInterpreterCallCodeDelta()Emitted when a partial code snippet is streamed by the code interpreter. final ResponseCodeInterpreterCallCodeDoneEventasCodeInterpreterCallCodeDone()Emitted when the code snippet is finalized by the code interpreter. final ResponseCodeInterpreterCallCompletedEventasCodeInterpreterCallCompleted()Emitted when the code interpreter call is completed. final ResponseCodeInterpreterCallInProgressEventasCodeInterpreterCallInProgress()Emitted when a code interpreter call is in progress. final ResponseCodeInterpreterCallInterpretingEventasCodeInterpreterCallInterpreting()Emitted when the code interpreter is actively interpreting the code snippet. final ResponseCompletedEventasCompleted()Emitted when the model response is complete. final ResponseContentPartAddedEventasContentPartAdded()Emitted when a new content part is added. final ResponseContentPartDoneEventasContentPartDone()Emitted when a content part is done. final ResponseCreatedEventasCreated()An event that is emitted when a response is created. final ResponseErrorEventasError()Emitted when an error occurs. final ResponseFileSearchCallCompletedEventasFileSearchCallCompleted()Emitted when a file search call is completed (results found). final ResponseFileSearchCallInProgressEventasFileSearchCallInProgress()Emitted when a file search call is initiated. final ResponseFileSearchCallSearchingEventasFileSearchCallSearching()Emitted when a file search is currently searching. final ResponseFunctionCallArgumentsDeltaEventasFunctionCallArgumentsDelta()Emitted when there is a partial function-call arguments delta. final ResponseFunctionCallArgumentsDoneEventasFunctionCallArgumentsDone()Emitted when function-call arguments are finalized. final ResponseInProgressEventasInProgress()Emitted when the response is in progress. final ResponseFailedEventasFailed()An event that is emitted when a response fails. final ResponseIncompleteEventasIncomplete()An event that is emitted when a response finishes as incomplete. final ResponseOutputItemAddedEventasOutputItemAdded()Emitted when a new output item is added. final ResponseOutputItemDoneEventasOutputItemDone()Emitted when an output item is marked done. final ResponseReasoningSummaryPartAddedEventasReasoningSummaryPartAdded()Emitted when a new reasoning summary part is added. final ResponseReasoningSummaryPartDoneEventasReasoningSummaryPartDone()Emitted when a reasoning summary part is completed. final ResponseReasoningSummaryTextDeltaEventasReasoningSummaryTextDelta()Emitted when a delta is added to a reasoning summary text. final ResponseReasoningSummaryTextDoneEventasReasoningSummaryTextDone()Emitted when a reasoning summary text is completed. final ResponseRefusalDeltaEventasRefusalDelta()Emitted when there is a partial refusal text. final ResponseRefusalDoneEventasRefusalDone()Emitted when refusal text is finalized. final ResponseTextDeltaEventasOutputTextDelta()Emitted when there is an additional text delta. final ResponseTextDoneEventasOutputTextDone()Emitted when text content is finalized. final ResponseWebSearchCallCompletedEventasWebSearchCallCompleted()Emitted when a web search call is completed. final ResponseWebSearchCallInProgressEventasWebSearchCallInProgress()Emitted when a web search call is initiated. final ResponseWebSearchCallSearchingEventasWebSearchCallSearching()Emitted when a web search call is executing. final ResponseImageGenCallCompletedEventasImageGenerationCallCompleted()Emitted when an image generation tool call has completed and the final image is available. final ResponseImageGenCallGeneratingEventasImageGenerationCallGenerating()Emitted when an image generation tool call is actively generating an image (intermediate state). final ResponseImageGenCallInProgressEventasImageGenerationCallInProgress()Emitted when an image generation tool call is in progress. final ResponseImageGenCallPartialImageEventasImageGenerationCallPartialImage()Emitted when a partial image is available during image generation streaming. final ResponseMcpCallArgumentsDeltaEventasMcpCallArgumentsDelta()Emitted when there is a delta (partial update) to the arguments of an MCP tool call. final ResponseMcpCallArgumentsDoneEventasMcpCallArgumentsDone()Emitted when the arguments for an MCP tool call are finalized. final ResponseMcpCallCompletedEventasMcpCallCompleted()Emitted when an MCP tool call has completed successfully. final ResponseMcpCallFailedEventasMcpCallFailed()Emitted when an MCP tool call has failed. final ResponseMcpCallInProgressEventasMcpCallInProgress()Emitted when an MCP tool call is in progress. final ResponseMcpListToolsCompletedEventasMcpListToolsCompleted()Emitted when the list of available MCP tools has been successfully retrieved. final ResponseMcpListToolsFailedEventasMcpListToolsFailed()Emitted when the attempt to list available MCP tools has failed. final ResponseMcpListToolsInProgressEventasMcpListToolsInProgress()Emitted when the system is in the process of retrieving the list of available MCP tools. final ResponseOutputTextAnnotationAddedEventasOutputTextAnnotationAdded()Emitted when an annotation is added to output text content. final ResponseQueuedEventasQueued()Emitted when a response is queued and waiting to be processed. final ResponseReasoningDeltaEventasReasoningDelta()Emitted when there is a delta (partial update) to the reasoning content. final ResponseReasoningDoneEventasReasoningDone()Emitted when the reasoning content is finalized for an item. final ResponseReasoningSummaryDeltaEventasReasoningSummaryDelta()Emitted when there is a delta (partial update) to the reasoning summary content. final ResponseReasoningSummaryDoneEventasReasoningSummaryDone()Emitted when the reasoning summary content is finalized for an item. final Optional<JsonValue>_json()final <T extends Any> Taccept(ResponseStreamEvent.Visitor<T> visitor)final ResponseStreamEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseStreamEventofAudioDelta(ResponseAudioDeltaEvent audioDelta)Emitted when there is a partial audio response. final static ResponseStreamEventofAudioDone(ResponseAudioDoneEvent audioDone)Emitted when the audio response is complete. final static ResponseStreamEventofAudioTranscriptDelta(ResponseAudioTranscriptDeltaEvent audioTranscriptDelta)Emitted when there is a partial transcript of audio. final static ResponseStreamEventofAudioTranscriptDone(ResponseAudioTranscriptDoneEvent audioTranscriptDone)Emitted when the full audio transcript is completed. final static ResponseStreamEventofCodeInterpreterCallCodeDelta(ResponseCodeInterpreterCallCodeDeltaEvent codeInterpreterCallCodeDelta)Emitted when a partial code snippet is streamed by the code interpreter. final static ResponseStreamEventofCodeInterpreterCallCodeDone(ResponseCodeInterpreterCallCodeDoneEvent codeInterpreterCallCodeDone)Emitted when the code snippet is finalized by the code interpreter. final static ResponseStreamEventofCodeInterpreterCallCompleted(ResponseCodeInterpreterCallCompletedEvent codeInterpreterCallCompleted)Emitted when the code interpreter call is completed. final static ResponseStreamEventofCodeInterpreterCallInProgress(ResponseCodeInterpreterCallInProgressEvent codeInterpreterCallInProgress)Emitted when a code interpreter call is in progress. final static ResponseStreamEventofCodeInterpreterCallInterpreting(ResponseCodeInterpreterCallInterpretingEvent codeInterpreterCallInterpreting)Emitted when the code interpreter is actively interpreting the code snippet. final static ResponseStreamEventofCompleted(ResponseCompletedEvent completed)Emitted when the model response is complete. final static ResponseStreamEventofContentPartAdded(ResponseContentPartAddedEvent contentPartAdded)Emitted when a new content part is added. final static ResponseStreamEventofContentPartDone(ResponseContentPartDoneEvent contentPartDone)Emitted when a content part is done. final static ResponseStreamEventofCreated(ResponseCreatedEvent created)An event that is emitted when a response is created. final static ResponseStreamEventofError(ResponseErrorEvent error)Emitted when an error occurs. final static ResponseStreamEventofFileSearchCallCompleted(ResponseFileSearchCallCompletedEvent fileSearchCallCompleted)Emitted when a file search call is completed (results found). final static ResponseStreamEventofFileSearchCallInProgress(ResponseFileSearchCallInProgressEvent fileSearchCallInProgress)Emitted when a file search call is initiated. final static ResponseStreamEventofFileSearchCallSearching(ResponseFileSearchCallSearchingEvent fileSearchCallSearching)Emitted when a file search is currently searching. final static ResponseStreamEventofFunctionCallArgumentsDelta(ResponseFunctionCallArgumentsDeltaEvent functionCallArgumentsDelta)Emitted when there is a partial function-call arguments delta. final static ResponseStreamEventofFunctionCallArgumentsDone(ResponseFunctionCallArgumentsDoneEvent functionCallArgumentsDone)Emitted when function-call arguments are finalized. final static ResponseStreamEventofInProgress(ResponseInProgressEvent inProgress)Emitted when the response is in progress. final static ResponseStreamEventofFailed(ResponseFailedEvent failed)An event that is emitted when a response fails. final static ResponseStreamEventofIncomplete(ResponseIncompleteEvent incomplete)An event that is emitted when a response finishes as incomplete. final static ResponseStreamEventofOutputItemAdded(ResponseOutputItemAddedEvent outputItemAdded)Emitted when a new output item is added. final static ResponseStreamEventofOutputItemDone(ResponseOutputItemDoneEvent outputItemDone)Emitted when an output item is marked done. final static ResponseStreamEventofReasoningSummaryPartAdded(ResponseReasoningSummaryPartAddedEvent reasoningSummaryPartAdded)Emitted when a new reasoning summary part is added. final static ResponseStreamEventofReasoningSummaryPartDone(ResponseReasoningSummaryPartDoneEvent reasoningSummaryPartDone)Emitted when a reasoning summary part is completed. final static ResponseStreamEventofReasoningSummaryTextDelta(ResponseReasoningSummaryTextDeltaEvent reasoningSummaryTextDelta)Emitted when a delta is added to a reasoning summary text. final static ResponseStreamEventofReasoningSummaryTextDone(ResponseReasoningSummaryTextDoneEvent reasoningSummaryTextDone)Emitted when a reasoning summary text is completed. final static ResponseStreamEventofRefusalDelta(ResponseRefusalDeltaEvent refusalDelta)Emitted when there is a partial refusal text. final static ResponseStreamEventofRefusalDone(ResponseRefusalDoneEvent refusalDone)Emitted when refusal text is finalized. final static ResponseStreamEventofOutputTextDelta(ResponseTextDeltaEvent outputTextDelta)Emitted when there is an additional text delta. final static ResponseStreamEventofOutputTextDone(ResponseTextDoneEvent outputTextDone)Emitted when text content is finalized. final static ResponseStreamEventofWebSearchCallCompleted(ResponseWebSearchCallCompletedEvent webSearchCallCompleted)Emitted when a web search call is completed. final static ResponseStreamEventofWebSearchCallInProgress(ResponseWebSearchCallInProgressEvent webSearchCallInProgress)Emitted when a web search call is initiated. final static ResponseStreamEventofWebSearchCallSearching(ResponseWebSearchCallSearchingEvent webSearchCallSearching)Emitted when a web search call is executing. final static ResponseStreamEventofImageGenerationCallCompleted(ResponseImageGenCallCompletedEvent imageGenerationCallCompleted)Emitted when an image generation tool call has completed and the final image is available. final static ResponseStreamEventofImageGenerationCallGenerating(ResponseImageGenCallGeneratingEvent imageGenerationCallGenerating)Emitted when an image generation tool call is actively generating an image (intermediate state). final static ResponseStreamEventofImageGenerationCallInProgress(ResponseImageGenCallInProgressEvent imageGenerationCallInProgress)Emitted when an image generation tool call is in progress. final static ResponseStreamEventofImageGenerationCallPartialImage(ResponseImageGenCallPartialImageEvent imageGenerationCallPartialImage)Emitted when a partial image is available during image generation streaming. final static ResponseStreamEventofMcpCallArgumentsDelta(ResponseMcpCallArgumentsDeltaEvent mcpCallArgumentsDelta)Emitted when there is a delta (partial update) to the arguments of an MCP tool call. final static ResponseStreamEventofMcpCallArgumentsDone(ResponseMcpCallArgumentsDoneEvent mcpCallArgumentsDone)Emitted when the arguments for an MCP tool call are finalized. final static ResponseStreamEventofMcpCallCompleted(ResponseMcpCallCompletedEvent mcpCallCompleted)Emitted when an MCP tool call has completed successfully. final static ResponseStreamEventofMcpCallFailed(ResponseMcpCallFailedEvent mcpCallFailed)Emitted when an MCP tool call has failed. final static ResponseStreamEventofMcpCallInProgress(ResponseMcpCallInProgressEvent mcpCallInProgress)Emitted when an MCP tool call is in progress. final static ResponseStreamEventofMcpListToolsCompleted(ResponseMcpListToolsCompletedEvent mcpListToolsCompleted)Emitted when the list of available MCP tools has been successfully retrieved. final static ResponseStreamEventofMcpListToolsFailed(ResponseMcpListToolsFailedEvent mcpListToolsFailed)Emitted when the attempt to list available MCP tools has failed. final static ResponseStreamEventofMcpListToolsInProgress(ResponseMcpListToolsInProgressEvent mcpListToolsInProgress)Emitted when the system is in the process of retrieving the list of available MCP tools. final static ResponseStreamEventofOutputTextAnnotationAdded(ResponseOutputTextAnnotationAddedEvent outputTextAnnotationAdded)Emitted when an annotation is added to output text content. final static ResponseStreamEventofQueued(ResponseQueuedEvent queued)Emitted when a response is queued and waiting to be processed. final static ResponseStreamEventofReasoningDelta(ResponseReasoningDeltaEvent reasoningDelta)Emitted when there is a delta (partial update) to the reasoning content. final static ResponseStreamEventofReasoningDone(ResponseReasoningDoneEvent reasoningDone)Emitted when the reasoning content is finalized for an item. final static ResponseStreamEventofReasoningSummaryDelta(ResponseReasoningSummaryDeltaEvent reasoningSummaryDelta)Emitted when there is a delta (partial update) to the reasoning summary content. final static ResponseStreamEventofReasoningSummaryDone(ResponseReasoningSummaryDoneEvent reasoningSummaryDone)Emitted when the reasoning summary content is finalized for an item. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
audioDelta
final Optional<ResponseAudioDeltaEvent> audioDelta()
Emitted when there is a partial audio response.
 
- 
                                        
audioDone
final Optional<ResponseAudioDoneEvent> audioDone()
Emitted when the audio response is complete.
 
- 
                                        
audioTranscriptDelta
final Optional<ResponseAudioTranscriptDeltaEvent> audioTranscriptDelta()
Emitted when there is a partial transcript of audio.
 
- 
                                        
audioTranscriptDone
final Optional<ResponseAudioTranscriptDoneEvent> audioTranscriptDone()
Emitted when the full audio transcript is completed.
 
- 
                                        
codeInterpreterCallCodeDelta
final Optional<ResponseCodeInterpreterCallCodeDeltaEvent> codeInterpreterCallCodeDelta()
Emitted when a partial code snippet is streamed by the code interpreter.
 
- 
                                        
codeInterpreterCallCodeDone
final Optional<ResponseCodeInterpreterCallCodeDoneEvent> codeInterpreterCallCodeDone()
Emitted when the code snippet is finalized by the code interpreter.
 
- 
                                        
codeInterpreterCallCompleted
final Optional<ResponseCodeInterpreterCallCompletedEvent> codeInterpreterCallCompleted()
Emitted when the code interpreter call is completed.
 
- 
                                        
codeInterpreterCallInProgress
final Optional<ResponseCodeInterpreterCallInProgressEvent> codeInterpreterCallInProgress()
Emitted when a code interpreter call is in progress.
 
- 
                                        
codeInterpreterCallInterpreting
final Optional<ResponseCodeInterpreterCallInterpretingEvent> codeInterpreterCallInterpreting()
Emitted when the code interpreter is actively interpreting the code snippet.
 
- 
                                        
completed
final Optional<ResponseCompletedEvent> completed()
Emitted when the model response is complete.
 
- 
                                        
contentPartAdded
final Optional<ResponseContentPartAddedEvent> contentPartAdded()
Emitted when a new content part is added.
 
- 
                                        
contentPartDone
final Optional<ResponseContentPartDoneEvent> contentPartDone()
Emitted when a content part is done.
 
- 
                                        
created
final Optional<ResponseCreatedEvent> created()
An event that is emitted when a response is created.
 
- 
                                        
error
final Optional<ResponseErrorEvent> error()
Emitted when an error occurs.
 
- 
                                        
fileSearchCallCompleted
final Optional<ResponseFileSearchCallCompletedEvent> fileSearchCallCompleted()
Emitted when a file search call is completed (results found).
 
- 
                                        
fileSearchCallInProgress
final Optional<ResponseFileSearchCallInProgressEvent> fileSearchCallInProgress()
Emitted when a file search call is initiated.
 
- 
                                        
fileSearchCallSearching
final Optional<ResponseFileSearchCallSearchingEvent> fileSearchCallSearching()
Emitted when a file search is currently searching.
 
- 
                                        
functionCallArgumentsDelta
final Optional<ResponseFunctionCallArgumentsDeltaEvent> functionCallArgumentsDelta()
Emitted when there is a partial function-call arguments delta.
 
- 
                                        
functionCallArgumentsDone
final Optional<ResponseFunctionCallArgumentsDoneEvent> functionCallArgumentsDone()
Emitted when function-call arguments are finalized.
 
- 
                                        
inProgress
final Optional<ResponseInProgressEvent> inProgress()
Emitted when the response is in progress.
 
- 
                                        
failed
final Optional<ResponseFailedEvent> failed()
An event that is emitted when a response fails.
 
- 
                                        
incomplete
final Optional<ResponseIncompleteEvent> incomplete()
An event that is emitted when a response finishes as incomplete.
 
- 
                                        
outputItemAdded
final Optional<ResponseOutputItemAddedEvent> outputItemAdded()
Emitted when a new output item is added.
 
- 
                                        
outputItemDone
final Optional<ResponseOutputItemDoneEvent> outputItemDone()
Emitted when an output item is marked done.
 
- 
                                        
reasoningSummaryPartAdded
final Optional<ResponseReasoningSummaryPartAddedEvent> reasoningSummaryPartAdded()
Emitted when a new reasoning summary part is added.
 
- 
                                        
reasoningSummaryPartDone
final Optional<ResponseReasoningSummaryPartDoneEvent> reasoningSummaryPartDone()
Emitted when a reasoning summary part is completed.
 
- 
                                        
reasoningSummaryTextDelta
final Optional<ResponseReasoningSummaryTextDeltaEvent> reasoningSummaryTextDelta()
Emitted when a delta is added to a reasoning summary text.
 
- 
                                        
reasoningSummaryTextDone
final Optional<ResponseReasoningSummaryTextDoneEvent> reasoningSummaryTextDone()
Emitted when a reasoning summary text is completed.
 
- 
                                        
refusalDelta
final Optional<ResponseRefusalDeltaEvent> refusalDelta()
Emitted when there is a partial refusal text.
 
- 
                                        
refusalDone
final Optional<ResponseRefusalDoneEvent> refusalDone()
Emitted when refusal text is finalized.
 
- 
                                        
outputTextDelta
final Optional<ResponseTextDeltaEvent> outputTextDelta()
Emitted when there is an additional text delta.
 
- 
                                        
outputTextDone
final Optional<ResponseTextDoneEvent> outputTextDone()
Emitted when text content is finalized.
 
- 
                                        
webSearchCallCompleted
final Optional<ResponseWebSearchCallCompletedEvent> webSearchCallCompleted()
Emitted when a web search call is completed.
 
- 
                                        
webSearchCallInProgress
final Optional<ResponseWebSearchCallInProgressEvent> webSearchCallInProgress()
Emitted when a web search call is initiated.
 
- 
                                        
webSearchCallSearching
final Optional<ResponseWebSearchCallSearchingEvent> webSearchCallSearching()
Emitted when a web search call is executing.
 
- 
                                        
imageGenerationCallCompleted
final Optional<ResponseImageGenCallCompletedEvent> imageGenerationCallCompleted()
Emitted when an image generation tool call has completed and the final image is available.
 
- 
                                        
imageGenerationCallGenerating
final Optional<ResponseImageGenCallGeneratingEvent> imageGenerationCallGenerating()
Emitted when an image generation tool call is actively generating an image (intermediate state).
 
- 
                                        
imageGenerationCallInProgress
final Optional<ResponseImageGenCallInProgressEvent> imageGenerationCallInProgress()
Emitted when an image generation tool call is in progress.
 
- 
                                        
imageGenerationCallPartialImage
final Optional<ResponseImageGenCallPartialImageEvent> imageGenerationCallPartialImage()
Emitted when a partial image is available during image generation streaming.
 
- 
                                        
mcpCallArgumentsDelta
final Optional<ResponseMcpCallArgumentsDeltaEvent> mcpCallArgumentsDelta()
Emitted when there is a delta (partial update) to the arguments of an MCP tool call.
 
- 
                                        
mcpCallArgumentsDone
final Optional<ResponseMcpCallArgumentsDoneEvent> mcpCallArgumentsDone()
Emitted when the arguments for an MCP tool call are finalized.
 
- 
                                        
mcpCallCompleted
final Optional<ResponseMcpCallCompletedEvent> mcpCallCompleted()
Emitted when an MCP tool call has completed successfully.
 
- 
                                        
mcpCallFailed
final Optional<ResponseMcpCallFailedEvent> mcpCallFailed()
Emitted when an MCP tool call has failed.
 
- 
                                        
mcpCallInProgress
final Optional<ResponseMcpCallInProgressEvent> mcpCallInProgress()
Emitted when an MCP tool call is in progress.
 
- 
                                        
mcpListToolsCompleted
final Optional<ResponseMcpListToolsCompletedEvent> mcpListToolsCompleted()
Emitted when the list of available MCP tools has been successfully retrieved.
 
- 
                                        
mcpListToolsFailed
final Optional<ResponseMcpListToolsFailedEvent> mcpListToolsFailed()
Emitted when the attempt to list available MCP tools has failed.
 
- 
                                        
mcpListToolsInProgress
final Optional<ResponseMcpListToolsInProgressEvent> mcpListToolsInProgress()
Emitted when the system is in the process of retrieving the list of available MCP tools.
 
- 
                                        
outputTextAnnotationAdded
final Optional<ResponseOutputTextAnnotationAddedEvent> outputTextAnnotationAdded()
Emitted when an annotation is added to output text content.
 
- 
                                        
queued
final Optional<ResponseQueuedEvent> queued()
Emitted when a response is queued and waiting to be processed.
 
- 
                                        
reasoningDelta
final Optional<ResponseReasoningDeltaEvent> reasoningDelta()
Emitted when there is a delta (partial update) to the reasoning content.
 
- 
                                        
reasoningDone
final Optional<ResponseReasoningDoneEvent> reasoningDone()
Emitted when the reasoning content is finalized for an item.
 
- 
                                        
reasoningSummaryDelta
final Optional<ResponseReasoningSummaryDeltaEvent> reasoningSummaryDelta()
Emitted when there is a delta (partial update) to the reasoning summary content.
 
- 
                                        
reasoningSummaryDone
final Optional<ResponseReasoningSummaryDoneEvent> reasoningSummaryDone()
Emitted when the reasoning summary content is finalized for an item.
 
- 
                                        
isAudioDelta
final Boolean isAudioDelta()
 
- 
                                        
isAudioDone
final Boolean isAudioDone()
 
- 
                                        
isAudioTranscriptDelta
final Boolean isAudioTranscriptDelta()
 
- 
                                        
isAudioTranscriptDone
final Boolean isAudioTranscriptDone()
 
- 
                                        
isCodeInterpreterCallCodeDelta
final Boolean isCodeInterpreterCallCodeDelta()
 
- 
                                        
isCodeInterpreterCallCodeDone
final Boolean isCodeInterpreterCallCodeDone()
 
- 
                                        
isCodeInterpreterCallCompleted
final Boolean isCodeInterpreterCallCompleted()
 
- 
                                        
isCodeInterpreterCallInProgress
final Boolean isCodeInterpreterCallInProgress()
 
- 
                                        
isCodeInterpreterCallInterpreting
final Boolean isCodeInterpreterCallInterpreting()
 
- 
                                        
isCompleted
final Boolean isCompleted()
 
- 
                                        
isContentPartAdded
final Boolean isContentPartAdded()
 
- 
                                        
isContentPartDone
final Boolean isContentPartDone()
 
- 
                                        
isFileSearchCallCompleted
final Boolean isFileSearchCallCompleted()
 
- 
                                        
isFileSearchCallInProgress
final Boolean isFileSearchCallInProgress()
 
- 
                                        
isFileSearchCallSearching
final Boolean isFileSearchCallSearching()
 
- 
                                        
isFunctionCallArgumentsDelta
final Boolean isFunctionCallArgumentsDelta()
 
- 
                                        
isFunctionCallArgumentsDone
final Boolean isFunctionCallArgumentsDone()
 
- 
                                        
isInProgress
final Boolean isInProgress()
 
- 
                                        
isIncomplete
final Boolean isIncomplete()
 
- 
                                        
isOutputItemAdded
final Boolean isOutputItemAdded()
 
- 
                                        
isOutputItemDone
final Boolean isOutputItemDone()
 
- 
                                        
isReasoningSummaryPartAdded
final Boolean isReasoningSummaryPartAdded()
 
- 
                                        
isReasoningSummaryPartDone
final Boolean isReasoningSummaryPartDone()
 
- 
                                        
isReasoningSummaryTextDelta
final Boolean isReasoningSummaryTextDelta()
 
- 
                                        
isReasoningSummaryTextDone
final Boolean isReasoningSummaryTextDone()
 
- 
                                        
isRefusalDelta
final Boolean isRefusalDelta()
 
- 
                                        
isRefusalDone
final Boolean isRefusalDone()
 
- 
                                        
isOutputTextDelta
final Boolean isOutputTextDelta()
 
- 
                                        
isOutputTextDone
final Boolean isOutputTextDone()
 
- 
                                        
isWebSearchCallCompleted
final Boolean isWebSearchCallCompleted()
 
- 
                                        
isWebSearchCallInProgress
final Boolean isWebSearchCallInProgress()
 
- 
                                        
isWebSearchCallSearching
final Boolean isWebSearchCallSearching()
 
- 
                                        
isImageGenerationCallCompleted
final Boolean isImageGenerationCallCompleted()
 
- 
                                        
isImageGenerationCallGenerating
final Boolean isImageGenerationCallGenerating()
 
- 
                                        
isImageGenerationCallInProgress
final Boolean isImageGenerationCallInProgress()
 
- 
                                        
isImageGenerationCallPartialImage
final Boolean isImageGenerationCallPartialImage()
 
- 
                                        
isMcpCallArgumentsDelta
final Boolean isMcpCallArgumentsDelta()
 
- 
                                        
isMcpCallArgumentsDone
final Boolean isMcpCallArgumentsDone()
 
- 
                                        
isMcpCallCompleted
final Boolean isMcpCallCompleted()
 
- 
                                        
isMcpCallFailed
final Boolean isMcpCallFailed()
 
- 
                                        
isMcpCallInProgress
final Boolean isMcpCallInProgress()
 
- 
                                        
isMcpListToolsCompleted
final Boolean isMcpListToolsCompleted()
 
- 
                                        
isMcpListToolsFailed
final Boolean isMcpListToolsFailed()
 
- 
                                        
isMcpListToolsInProgress
final Boolean isMcpListToolsInProgress()
 
- 
                                        
isOutputTextAnnotationAdded
final Boolean isOutputTextAnnotationAdded()
 
- 
                                        
isReasoningDelta
final Boolean isReasoningDelta()
 
- 
                                        
isReasoningDone
final Boolean isReasoningDone()
 
- 
                                        
isReasoningSummaryDelta
final Boolean isReasoningSummaryDelta()
 
- 
                                        
isReasoningSummaryDone
final Boolean isReasoningSummaryDone()
 
- 
                                        
asAudioDelta
final ResponseAudioDeltaEvent asAudioDelta()
Emitted when there is a partial audio response.
 
- 
                                        
asAudioDone
final ResponseAudioDoneEvent asAudioDone()
Emitted when the audio response is complete.
 
- 
                                        
asAudioTranscriptDelta
final ResponseAudioTranscriptDeltaEvent asAudioTranscriptDelta()
Emitted when there is a partial transcript of audio.
 
- 
                                        
asAudioTranscriptDone
final ResponseAudioTranscriptDoneEvent asAudioTranscriptDone()
Emitted when the full audio transcript is completed.
 
- 
                                        
asCodeInterpreterCallCodeDelta
final ResponseCodeInterpreterCallCodeDeltaEvent asCodeInterpreterCallCodeDelta()
Emitted when a partial code snippet is streamed by the code interpreter.
 
- 
                                        
asCodeInterpreterCallCodeDone
final ResponseCodeInterpreterCallCodeDoneEvent asCodeInterpreterCallCodeDone()
Emitted when the code snippet is finalized by the code interpreter.
 
- 
                                        
asCodeInterpreterCallCompleted
final ResponseCodeInterpreterCallCompletedEvent asCodeInterpreterCallCompleted()
Emitted when the code interpreter call is completed.
 
- 
                                        
asCodeInterpreterCallInProgress
final ResponseCodeInterpreterCallInProgressEvent asCodeInterpreterCallInProgress()
Emitted when a code interpreter call is in progress.
 
- 
                                        
asCodeInterpreterCallInterpreting
final ResponseCodeInterpreterCallInterpretingEvent asCodeInterpreterCallInterpreting()
Emitted when the code interpreter is actively interpreting the code snippet.
 
- 
                                        
asCompleted
final ResponseCompletedEvent asCompleted()
Emitted when the model response is complete.
 
- 
                                        
asContentPartAdded
final ResponseContentPartAddedEvent asContentPartAdded()
Emitted when a new content part is added.
 
- 
                                        
asContentPartDone
final ResponseContentPartDoneEvent asContentPartDone()
Emitted when a content part is done.
 
- 
                                        
asCreated
final ResponseCreatedEvent asCreated()
An event that is emitted when a response is created.
 
- 
                                        
asError
final ResponseErrorEvent asError()
Emitted when an error occurs.
 
- 
                                        
asFileSearchCallCompleted
final ResponseFileSearchCallCompletedEvent asFileSearchCallCompleted()
Emitted when a file search call is completed (results found).
 
- 
                                        
asFileSearchCallInProgress
final ResponseFileSearchCallInProgressEvent asFileSearchCallInProgress()
Emitted when a file search call is initiated.
 
- 
                                        
asFileSearchCallSearching
final ResponseFileSearchCallSearchingEvent asFileSearchCallSearching()
Emitted when a file search is currently searching.
 
- 
                                        
asFunctionCallArgumentsDelta
final ResponseFunctionCallArgumentsDeltaEvent asFunctionCallArgumentsDelta()
Emitted when there is a partial function-call arguments delta.
 
- 
                                        
asFunctionCallArgumentsDone
final ResponseFunctionCallArgumentsDoneEvent asFunctionCallArgumentsDone()
Emitted when function-call arguments are finalized.
 
- 
                                        
asInProgress
final ResponseInProgressEvent asInProgress()
Emitted when the response is in progress.
 
- 
                                        
asFailed
final ResponseFailedEvent asFailed()
An event that is emitted when a response fails.
 
- 
                                        
asIncomplete
final ResponseIncompleteEvent asIncomplete()
An event that is emitted when a response finishes as incomplete.
 
- 
                                        
asOutputItemAdded
final ResponseOutputItemAddedEvent asOutputItemAdded()
Emitted when a new output item is added.
 
- 
                                        
asOutputItemDone
final ResponseOutputItemDoneEvent asOutputItemDone()
Emitted when an output item is marked done.
 
- 
                                        
asReasoningSummaryPartAdded
final ResponseReasoningSummaryPartAddedEvent asReasoningSummaryPartAdded()
Emitted when a new reasoning summary part is added.
 
- 
                                        
asReasoningSummaryPartDone
final ResponseReasoningSummaryPartDoneEvent asReasoningSummaryPartDone()
Emitted when a reasoning summary part is completed.
 
- 
                                        
asReasoningSummaryTextDelta
final ResponseReasoningSummaryTextDeltaEvent asReasoningSummaryTextDelta()
Emitted when a delta is added to a reasoning summary text.
 
- 
                                        
asReasoningSummaryTextDone
final ResponseReasoningSummaryTextDoneEvent asReasoningSummaryTextDone()
Emitted when a reasoning summary text is completed.
 
- 
                                        
asRefusalDelta
final ResponseRefusalDeltaEvent asRefusalDelta()
Emitted when there is a partial refusal text.
 
- 
                                        
asRefusalDone
final ResponseRefusalDoneEvent asRefusalDone()
Emitted when refusal text is finalized.
 
- 
                                        
asOutputTextDelta
final ResponseTextDeltaEvent asOutputTextDelta()
Emitted when there is an additional text delta.
 
- 
                                        
asOutputTextDone
final ResponseTextDoneEvent asOutputTextDone()
Emitted when text content is finalized.
 
- 
                                        
asWebSearchCallCompleted
final ResponseWebSearchCallCompletedEvent asWebSearchCallCompleted()
Emitted when a web search call is completed.
 
- 
                                        
asWebSearchCallInProgress
final ResponseWebSearchCallInProgressEvent asWebSearchCallInProgress()
Emitted when a web search call is initiated.
 
- 
                                        
asWebSearchCallSearching
final ResponseWebSearchCallSearchingEvent asWebSearchCallSearching()
Emitted when a web search call is executing.
 
- 
                                        
asImageGenerationCallCompleted
final ResponseImageGenCallCompletedEvent asImageGenerationCallCompleted()
Emitted when an image generation tool call has completed and the final image is available.
 
- 
                                        
asImageGenerationCallGenerating
final ResponseImageGenCallGeneratingEvent asImageGenerationCallGenerating()
Emitted when an image generation tool call is actively generating an image (intermediate state).
 
- 
                                        
asImageGenerationCallInProgress
final ResponseImageGenCallInProgressEvent asImageGenerationCallInProgress()
Emitted when an image generation tool call is in progress.
 
- 
                                        
asImageGenerationCallPartialImage
final ResponseImageGenCallPartialImageEvent asImageGenerationCallPartialImage()
Emitted when a partial image is available during image generation streaming.
 
- 
                                        
asMcpCallArgumentsDelta
final ResponseMcpCallArgumentsDeltaEvent asMcpCallArgumentsDelta()
Emitted when there is a delta (partial update) to the arguments of an MCP tool call.
 
- 
                                        
asMcpCallArgumentsDone
final ResponseMcpCallArgumentsDoneEvent asMcpCallArgumentsDone()
Emitted when the arguments for an MCP tool call are finalized.
 
- 
                                        
asMcpCallCompleted
final ResponseMcpCallCompletedEvent asMcpCallCompleted()
Emitted when an MCP tool call has completed successfully.
 
- 
                                        
asMcpCallFailed
final ResponseMcpCallFailedEvent asMcpCallFailed()
Emitted when an MCP tool call has failed.
 
- 
                                        
asMcpCallInProgress
final ResponseMcpCallInProgressEvent asMcpCallInProgress()
Emitted when an MCP tool call is in progress.
 
- 
                                        
asMcpListToolsCompleted
final ResponseMcpListToolsCompletedEvent asMcpListToolsCompleted()
Emitted when the list of available MCP tools has been successfully retrieved.
 
- 
                                        
asMcpListToolsFailed
final ResponseMcpListToolsFailedEvent asMcpListToolsFailed()
Emitted when the attempt to list available MCP tools has failed.
 
- 
                                        
asMcpListToolsInProgress
final ResponseMcpListToolsInProgressEvent asMcpListToolsInProgress()
Emitted when the system is in the process of retrieving the list of available MCP tools.
 
- 
                                        
asOutputTextAnnotationAdded
final ResponseOutputTextAnnotationAddedEvent asOutputTextAnnotationAdded()
Emitted when an annotation is added to output text content.
 
- 
                                        
asQueued
final ResponseQueuedEvent asQueued()
Emitted when a response is queued and waiting to be processed.
 
- 
                                        
asReasoningDelta
final ResponseReasoningDeltaEvent asReasoningDelta()
Emitted when there is a delta (partial update) to the reasoning content.
 
- 
                                        
asReasoningDone
final ResponseReasoningDoneEvent asReasoningDone()
Emitted when the reasoning content is finalized for an item.
 
- 
                                        
asReasoningSummaryDelta
final ResponseReasoningSummaryDeltaEvent asReasoningSummaryDelta()
Emitted when there is a delta (partial update) to the reasoning summary content.
 
- 
                                        
asReasoningSummaryDone
final ResponseReasoningSummaryDoneEvent asReasoningSummaryDone()
Emitted when the reasoning summary content is finalized for an item.
 
- 
                                        
accept
final <T extends Any> T accept(ResponseStreamEvent.Visitor<T> visitor)
 
- 
                                        
validate
final ResponseStreamEvent validate()
 
- 
                                        
ofAudioDelta
final static ResponseStreamEvent ofAudioDelta(ResponseAudioDeltaEvent audioDelta)
Emitted when there is a partial audio response.
 
- 
                                        
ofAudioDone
final static ResponseStreamEvent ofAudioDone(ResponseAudioDoneEvent audioDone)
Emitted when the audio response is complete.
 
- 
                                        
ofAudioTranscriptDelta
final static ResponseStreamEvent ofAudioTranscriptDelta(ResponseAudioTranscriptDeltaEvent audioTranscriptDelta)
Emitted when there is a partial transcript of audio.
 
- 
                                        
ofAudioTranscriptDone
final static ResponseStreamEvent ofAudioTranscriptDone(ResponseAudioTranscriptDoneEvent audioTranscriptDone)
Emitted when the full audio transcript is completed.
 
- 
                                        
ofCodeInterpreterCallCodeDelta
final static ResponseStreamEvent ofCodeInterpreterCallCodeDelta(ResponseCodeInterpreterCallCodeDeltaEvent codeInterpreterCallCodeDelta)
Emitted when a partial code snippet is streamed by the code interpreter.
 
- 
                                        
ofCodeInterpreterCallCodeDone
final static ResponseStreamEvent ofCodeInterpreterCallCodeDone(ResponseCodeInterpreterCallCodeDoneEvent codeInterpreterCallCodeDone)
Emitted when the code snippet is finalized by the code interpreter.
 
- 
                                        
ofCodeInterpreterCallCompleted
final static ResponseStreamEvent ofCodeInterpreterCallCompleted(ResponseCodeInterpreterCallCompletedEvent codeInterpreterCallCompleted)
Emitted when the code interpreter call is completed.
 
- 
                                        
ofCodeInterpreterCallInProgress
final static ResponseStreamEvent ofCodeInterpreterCallInProgress(ResponseCodeInterpreterCallInProgressEvent codeInterpreterCallInProgress)
Emitted when a code interpreter call is in progress.
 
- 
                                        
ofCodeInterpreterCallInterpreting
final static ResponseStreamEvent ofCodeInterpreterCallInterpreting(ResponseCodeInterpreterCallInterpretingEvent codeInterpreterCallInterpreting)
Emitted when the code interpreter is actively interpreting the code snippet.
 
- 
                                        
ofCompleted
final static ResponseStreamEvent ofCompleted(ResponseCompletedEvent completed)
Emitted when the model response is complete.
 
- 
                                        
ofContentPartAdded
final static ResponseStreamEvent ofContentPartAdded(ResponseContentPartAddedEvent contentPartAdded)
Emitted when a new content part is added.
 
- 
                                        
ofContentPartDone
final static ResponseStreamEvent ofContentPartDone(ResponseContentPartDoneEvent contentPartDone)
Emitted when a content part is done.
 
- 
                                        
ofCreated
final static ResponseStreamEvent ofCreated(ResponseCreatedEvent created)
An event that is emitted when a response is created.
 
- 
                                        
ofError
final static ResponseStreamEvent ofError(ResponseErrorEvent error)
Emitted when an error occurs.
 
- 
                                        
ofFileSearchCallCompleted
final static ResponseStreamEvent ofFileSearchCallCompleted(ResponseFileSearchCallCompletedEvent fileSearchCallCompleted)
Emitted when a file search call is completed (results found).
 
- 
                                        
ofFileSearchCallInProgress
final static ResponseStreamEvent ofFileSearchCallInProgress(ResponseFileSearchCallInProgressEvent fileSearchCallInProgress)
Emitted when a file search call is initiated.
 
- 
                                        
ofFileSearchCallSearching
final static ResponseStreamEvent ofFileSearchCallSearching(ResponseFileSearchCallSearchingEvent fileSearchCallSearching)
Emitted when a file search is currently searching.
 
- 
                                        
ofFunctionCallArgumentsDelta
final static ResponseStreamEvent ofFunctionCallArgumentsDelta(ResponseFunctionCallArgumentsDeltaEvent functionCallArgumentsDelta)
Emitted when there is a partial function-call arguments delta.
 
- 
                                        
ofFunctionCallArgumentsDone
final static ResponseStreamEvent ofFunctionCallArgumentsDone(ResponseFunctionCallArgumentsDoneEvent functionCallArgumentsDone)
Emitted when function-call arguments are finalized.
 
- 
                                        
ofInProgress
final static ResponseStreamEvent ofInProgress(ResponseInProgressEvent inProgress)
Emitted when the response is in progress.
 
- 
                                        
ofFailed
final static ResponseStreamEvent ofFailed(ResponseFailedEvent failed)
An event that is emitted when a response fails.
 
- 
                                        
ofIncomplete
final static ResponseStreamEvent ofIncomplete(ResponseIncompleteEvent incomplete)
An event that is emitted when a response finishes as incomplete.
 
- 
                                        
ofOutputItemAdded
final static ResponseStreamEvent ofOutputItemAdded(ResponseOutputItemAddedEvent outputItemAdded)
Emitted when a new output item is added.
 
- 
                                        
ofOutputItemDone
final static ResponseStreamEvent ofOutputItemDone(ResponseOutputItemDoneEvent outputItemDone)
Emitted when an output item is marked done.
 
- 
                                        
ofReasoningSummaryPartAdded
final static ResponseStreamEvent ofReasoningSummaryPartAdded(ResponseReasoningSummaryPartAddedEvent reasoningSummaryPartAdded)
Emitted when a new reasoning summary part is added.
 
- 
                                        
ofReasoningSummaryPartDone
final static ResponseStreamEvent ofReasoningSummaryPartDone(ResponseReasoningSummaryPartDoneEvent reasoningSummaryPartDone)
Emitted when a reasoning summary part is completed.
 
- 
                                        
ofReasoningSummaryTextDelta
final static ResponseStreamEvent ofReasoningSummaryTextDelta(ResponseReasoningSummaryTextDeltaEvent reasoningSummaryTextDelta)
Emitted when a delta is added to a reasoning summary text.
 
- 
                                        
ofReasoningSummaryTextDone
final static ResponseStreamEvent ofReasoningSummaryTextDone(ResponseReasoningSummaryTextDoneEvent reasoningSummaryTextDone)
Emitted when a reasoning summary text is completed.
 
- 
                                        
ofRefusalDelta
final static ResponseStreamEvent ofRefusalDelta(ResponseRefusalDeltaEvent refusalDelta)
Emitted when there is a partial refusal text.
 
- 
                                        
ofRefusalDone
final static ResponseStreamEvent ofRefusalDone(ResponseRefusalDoneEvent refusalDone)
Emitted when refusal text is finalized.
 
- 
                                        
ofOutputTextDelta
final static ResponseStreamEvent ofOutputTextDelta(ResponseTextDeltaEvent outputTextDelta)
Emitted when there is an additional text delta.
 
- 
                                        
ofOutputTextDone
final static ResponseStreamEvent ofOutputTextDone(ResponseTextDoneEvent outputTextDone)
Emitted when text content is finalized.
 
- 
                                        
ofWebSearchCallCompleted
final static ResponseStreamEvent ofWebSearchCallCompleted(ResponseWebSearchCallCompletedEvent webSearchCallCompleted)
Emitted when a web search call is completed.
 
- 
                                        
ofWebSearchCallInProgress
final static ResponseStreamEvent ofWebSearchCallInProgress(ResponseWebSearchCallInProgressEvent webSearchCallInProgress)
Emitted when a web search call is initiated.
 
- 
                                        
ofWebSearchCallSearching
final static ResponseStreamEvent ofWebSearchCallSearching(ResponseWebSearchCallSearchingEvent webSearchCallSearching)
Emitted when a web search call is executing.
 
- 
                                        
ofImageGenerationCallCompleted
final static ResponseStreamEvent ofImageGenerationCallCompleted(ResponseImageGenCallCompletedEvent imageGenerationCallCompleted)
Emitted when an image generation tool call has completed and the final image is available.
 
- 
                                        
ofImageGenerationCallGenerating
final static ResponseStreamEvent ofImageGenerationCallGenerating(ResponseImageGenCallGeneratingEvent imageGenerationCallGenerating)
Emitted when an image generation tool call is actively generating an image (intermediate state).
 
- 
                                        
ofImageGenerationCallInProgress
final static ResponseStreamEvent ofImageGenerationCallInProgress(ResponseImageGenCallInProgressEvent imageGenerationCallInProgress)
Emitted when an image generation tool call is in progress.
 
- 
                                        
ofImageGenerationCallPartialImage
final static ResponseStreamEvent ofImageGenerationCallPartialImage(ResponseImageGenCallPartialImageEvent imageGenerationCallPartialImage)
Emitted when a partial image is available during image generation streaming.
 
- 
                                        
ofMcpCallArgumentsDelta
final static ResponseStreamEvent ofMcpCallArgumentsDelta(ResponseMcpCallArgumentsDeltaEvent mcpCallArgumentsDelta)
Emitted when there is a delta (partial update) to the arguments of an MCP tool call.
 
- 
                                        
ofMcpCallArgumentsDone
final static ResponseStreamEvent ofMcpCallArgumentsDone(ResponseMcpCallArgumentsDoneEvent mcpCallArgumentsDone)
Emitted when the arguments for an MCP tool call are finalized.
 
- 
                                        
ofMcpCallCompleted
final static ResponseStreamEvent ofMcpCallCompleted(ResponseMcpCallCompletedEvent mcpCallCompleted)
Emitted when an MCP tool call has completed successfully.
 
- 
                                        
ofMcpCallFailed
final static ResponseStreamEvent ofMcpCallFailed(ResponseMcpCallFailedEvent mcpCallFailed)
Emitted when an MCP tool call has failed.
 
- 
                                        
ofMcpCallInProgress
final static ResponseStreamEvent ofMcpCallInProgress(ResponseMcpCallInProgressEvent mcpCallInProgress)
Emitted when an MCP tool call is in progress.
 
- 
                                        
ofMcpListToolsCompleted
final static ResponseStreamEvent ofMcpListToolsCompleted(ResponseMcpListToolsCompletedEvent mcpListToolsCompleted)
Emitted when the list of available MCP tools has been successfully retrieved.
 
- 
                                        
ofMcpListToolsFailed
final static ResponseStreamEvent ofMcpListToolsFailed(ResponseMcpListToolsFailedEvent mcpListToolsFailed)
Emitted when the attempt to list available MCP tools has failed.
 
- 
                                        
ofMcpListToolsInProgress
final static ResponseStreamEvent ofMcpListToolsInProgress(ResponseMcpListToolsInProgressEvent mcpListToolsInProgress)
Emitted when the system is in the process of retrieving the list of available MCP tools.
 
- 
                                        
ofOutputTextAnnotationAdded
final static ResponseStreamEvent ofOutputTextAnnotationAdded(ResponseOutputTextAnnotationAddedEvent outputTextAnnotationAdded)
Emitted when an annotation is added to output text content.
 
- 
                                        
ofQueued
final static ResponseStreamEvent ofQueued(ResponseQueuedEvent queued)
Emitted when a response is queued and waiting to be processed.
 
- 
                                        
ofReasoningDelta
final static ResponseStreamEvent ofReasoningDelta(ResponseReasoningDeltaEvent reasoningDelta)
Emitted when there is a delta (partial update) to the reasoning content.
 
- 
                                        
ofReasoningDone
final static ResponseStreamEvent ofReasoningDone(ResponseReasoningDoneEvent reasoningDone)
Emitted when the reasoning content is finalized for an item.
 
- 
                                        
ofReasoningSummaryDelta
final static ResponseStreamEvent ofReasoningSummaryDelta(ResponseReasoningSummaryDeltaEvent reasoningSummaryDelta)
Emitted when there is a delta (partial update) to the reasoning summary content.
 
- 
                                        
ofReasoningSummaryDone
final static ResponseStreamEvent ofReasoningSummaryDone(ResponseReasoningSummaryDoneEvent reasoningSummaryDone)
Emitted when the reasoning summary content is finalized for an item.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -