Class ResponseStreamEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseStreamEventEmitted when there is a partial audio response. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested 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 SummaryModifier 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<ResponseReasoningTextDeltaEvent>reasoningTextDelta()Emitted when a delta is added to a reasoning text. final Optional<ResponseReasoningTextDoneEvent>reasoningTextDone()Emitted when a reasoning 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<ResponseCustomToolCallInputDeltaEvent>customToolCallInputDelta()Event representing a delta (partial update) to the input of a custom tool call. final Optional<ResponseCustomToolCallInputDoneEvent>customToolCallInputDone()Event indicating that input for a custom tool call is complete. 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 BooleanisReasoningTextDelta()final BooleanisReasoningTextDone()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 BooleanisCustomToolCallInputDelta()final BooleanisCustomToolCallInputDone()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 ResponseReasoningTextDeltaEventasReasoningTextDelta()Emitted when a delta is added to a reasoning text. final ResponseReasoningTextDoneEventasReasoningTextDone()Emitted when a reasoning 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 ResponseCustomToolCallInputDeltaEventasCustomToolCallInputDelta()Event representing a delta (partial update) to the input of a custom tool call. final ResponseCustomToolCallInputDoneEventasCustomToolCallInputDone()Event indicating that input for a custom tool call is complete. 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 ResponseStreamEventofReasoningTextDelta(ResponseReasoningTextDeltaEvent reasoningTextDelta)Emitted when a delta is added to a reasoning text. final static ResponseStreamEventofReasoningTextDone(ResponseReasoningTextDoneEvent reasoningTextDone)Emitted when a reasoning 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 ResponseStreamEventofCustomToolCallInputDelta(ResponseCustomToolCallInputDeltaEvent customToolCallInputDelta)Event representing a delta (partial update) to the input of a custom tool call. final static ResponseStreamEventofCustomToolCallInputDone(ResponseCustomToolCallInputDoneEvent customToolCallInputDone)Event indicating that input for a custom tool call is complete. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        audioDeltafinal Optional<ResponseAudioDeltaEvent> audioDelta() Emitted when there is a partial audio response. 
 - 
                                        audioDonefinal Optional<ResponseAudioDoneEvent> audioDone() Emitted when the audio response is complete. 
 - 
                                        audioTranscriptDeltafinal Optional<ResponseAudioTranscriptDeltaEvent> audioTranscriptDelta() Emitted when there is a partial transcript of audio. 
 - 
                                        audioTranscriptDonefinal Optional<ResponseAudioTranscriptDoneEvent> audioTranscriptDone() Emitted when the full audio transcript is completed. 
 - 
                                        codeInterpreterCallCodeDeltafinal Optional<ResponseCodeInterpreterCallCodeDeltaEvent> codeInterpreterCallCodeDelta() Emitted when a partial code snippet is streamed by the code interpreter. 
 - 
                                        codeInterpreterCallCodeDonefinal Optional<ResponseCodeInterpreterCallCodeDoneEvent> codeInterpreterCallCodeDone() Emitted when the code snippet is finalized by the code interpreter. 
 - 
                                        codeInterpreterCallCompletedfinal Optional<ResponseCodeInterpreterCallCompletedEvent> codeInterpreterCallCompleted() Emitted when the code interpreter call is completed. 
 - 
                                        codeInterpreterCallInProgressfinal Optional<ResponseCodeInterpreterCallInProgressEvent> codeInterpreterCallInProgress() Emitted when a code interpreter call is in progress. 
 - 
                                        codeInterpreterCallInterpretingfinal Optional<ResponseCodeInterpreterCallInterpretingEvent> codeInterpreterCallInterpreting() Emitted when the code interpreter is actively interpreting the code snippet. 
 - 
                                        completedfinal Optional<ResponseCompletedEvent> completed() Emitted when the model response is complete. 
 - 
                                        contentPartAddedfinal Optional<ResponseContentPartAddedEvent> contentPartAdded() Emitted when a new content part is added. 
 - 
                                        contentPartDonefinal Optional<ResponseContentPartDoneEvent> contentPartDone() Emitted when a content part is done. 
 - 
                                        createdfinal Optional<ResponseCreatedEvent> created() An event that is emitted when a response is created. 
 - 
                                        errorfinal Optional<ResponseErrorEvent> error() Emitted when an error occurs. 
 - 
                                        fileSearchCallCompletedfinal Optional<ResponseFileSearchCallCompletedEvent> fileSearchCallCompleted() Emitted when a file search call is completed (results found). 
 - 
                                        fileSearchCallInProgressfinal Optional<ResponseFileSearchCallInProgressEvent> fileSearchCallInProgress() Emitted when a file search call is initiated. 
 - 
                                        fileSearchCallSearchingfinal Optional<ResponseFileSearchCallSearchingEvent> fileSearchCallSearching() Emitted when a file search is currently searching. 
 - 
                                        functionCallArgumentsDeltafinal Optional<ResponseFunctionCallArgumentsDeltaEvent> functionCallArgumentsDelta() Emitted when there is a partial function-call arguments delta. 
 - 
                                        functionCallArgumentsDonefinal Optional<ResponseFunctionCallArgumentsDoneEvent> functionCallArgumentsDone() Emitted when function-call arguments are finalized. 
 - 
                                        inProgressfinal Optional<ResponseInProgressEvent> inProgress() Emitted when the response is in progress. 
 - 
                                        failedfinal Optional<ResponseFailedEvent> failed() An event that is emitted when a response fails. 
 - 
                                        incompletefinal Optional<ResponseIncompleteEvent> incomplete() An event that is emitted when a response finishes as incomplete. 
 - 
                                        outputItemAddedfinal Optional<ResponseOutputItemAddedEvent> outputItemAdded() Emitted when a new output item is added. 
 - 
                                        outputItemDonefinal Optional<ResponseOutputItemDoneEvent> outputItemDone() Emitted when an output item is marked done. 
 - 
                                        reasoningSummaryPartAddedfinal Optional<ResponseReasoningSummaryPartAddedEvent> reasoningSummaryPartAdded() Emitted when a new reasoning summary part is added. 
 - 
                                        reasoningSummaryPartDonefinal Optional<ResponseReasoningSummaryPartDoneEvent> reasoningSummaryPartDone() Emitted when a reasoning summary part is completed. 
 - 
                                        reasoningSummaryTextDeltafinal Optional<ResponseReasoningSummaryTextDeltaEvent> reasoningSummaryTextDelta() Emitted when a delta is added to a reasoning summary text. 
 - 
                                        reasoningSummaryTextDonefinal Optional<ResponseReasoningSummaryTextDoneEvent> reasoningSummaryTextDone() Emitted when a reasoning summary text is completed. 
 - 
                                        reasoningTextDeltafinal Optional<ResponseReasoningTextDeltaEvent> reasoningTextDelta() Emitted when a delta is added to a reasoning text. 
 - 
                                        reasoningTextDonefinal Optional<ResponseReasoningTextDoneEvent> reasoningTextDone() Emitted when a reasoning text is completed. 
 - 
                                        refusalDeltafinal Optional<ResponseRefusalDeltaEvent> refusalDelta() Emitted when there is a partial refusal text. 
 - 
                                        refusalDonefinal Optional<ResponseRefusalDoneEvent> refusalDone() Emitted when refusal text is finalized. 
 - 
                                        outputTextDeltafinal Optional<ResponseTextDeltaEvent> outputTextDelta() Emitted when there is an additional text delta. 
 - 
                                        outputTextDonefinal Optional<ResponseTextDoneEvent> outputTextDone() Emitted when text content is finalized. 
 - 
                                        webSearchCallCompletedfinal Optional<ResponseWebSearchCallCompletedEvent> webSearchCallCompleted() Emitted when a web search call is completed. 
 - 
                                        webSearchCallInProgressfinal Optional<ResponseWebSearchCallInProgressEvent> webSearchCallInProgress() Emitted when a web search call is initiated. 
 - 
                                        webSearchCallSearchingfinal Optional<ResponseWebSearchCallSearchingEvent> webSearchCallSearching() Emitted when a web search call is executing. 
 - 
                                        imageGenerationCallCompletedfinal Optional<ResponseImageGenCallCompletedEvent> imageGenerationCallCompleted() Emitted when an image generation tool call has completed and the final image is available. 
 - 
                                        imageGenerationCallGeneratingfinal Optional<ResponseImageGenCallGeneratingEvent> imageGenerationCallGenerating() Emitted when an image generation tool call is actively generating an image (intermediate state). 
 - 
                                        imageGenerationCallInProgressfinal Optional<ResponseImageGenCallInProgressEvent> imageGenerationCallInProgress() Emitted when an image generation tool call is in progress. 
 - 
                                        imageGenerationCallPartialImagefinal Optional<ResponseImageGenCallPartialImageEvent> imageGenerationCallPartialImage() Emitted when a partial image is available during image generation streaming. 
 - 
                                        mcpCallArgumentsDeltafinal Optional<ResponseMcpCallArgumentsDeltaEvent> mcpCallArgumentsDelta() Emitted when there is a delta (partial update) to the arguments of an MCP tool call. 
 - 
                                        mcpCallArgumentsDonefinal Optional<ResponseMcpCallArgumentsDoneEvent> mcpCallArgumentsDone() Emitted when the arguments for an MCP tool call are finalized. 
 - 
                                        mcpCallCompletedfinal Optional<ResponseMcpCallCompletedEvent> mcpCallCompleted() Emitted when an MCP tool call has completed successfully. 
 - 
                                        mcpCallFailedfinal Optional<ResponseMcpCallFailedEvent> mcpCallFailed() Emitted when an MCP tool call has failed. 
 - 
                                        mcpCallInProgressfinal Optional<ResponseMcpCallInProgressEvent> mcpCallInProgress() Emitted when an MCP tool call is in progress. 
 - 
                                        mcpListToolsCompletedfinal Optional<ResponseMcpListToolsCompletedEvent> mcpListToolsCompleted() Emitted when the list of available MCP tools has been successfully retrieved. 
 - 
                                        mcpListToolsFailedfinal Optional<ResponseMcpListToolsFailedEvent> mcpListToolsFailed() Emitted when the attempt to list available MCP tools has failed. 
 - 
                                        mcpListToolsInProgressfinal Optional<ResponseMcpListToolsInProgressEvent> mcpListToolsInProgress() Emitted when the system is in the process of retrieving the list of available MCP tools. 
 - 
                                        outputTextAnnotationAddedfinal Optional<ResponseOutputTextAnnotationAddedEvent> outputTextAnnotationAdded() Emitted when an annotation is added to output text content. 
 - 
                                        queuedfinal Optional<ResponseQueuedEvent> queued() Emitted when a response is queued and waiting to be processed. 
 - 
                                        customToolCallInputDeltafinal Optional<ResponseCustomToolCallInputDeltaEvent> customToolCallInputDelta() Event representing a delta (partial update) to the input of a custom tool call. 
 - 
                                        customToolCallInputDonefinal Optional<ResponseCustomToolCallInputDoneEvent> customToolCallInputDone() Event indicating that input for a custom tool call is complete. 
 - 
                                        isAudioDeltafinal Boolean isAudioDelta() 
 - 
                                        isAudioDonefinal Boolean isAudioDone() 
 - 
                                        isAudioTranscriptDeltafinal Boolean isAudioTranscriptDelta() 
 - 
                                        isAudioTranscriptDonefinal Boolean isAudioTranscriptDone() 
 - 
                                        isCodeInterpreterCallCodeDeltafinal Boolean isCodeInterpreterCallCodeDelta() 
 - 
                                        isCodeInterpreterCallCodeDonefinal Boolean isCodeInterpreterCallCodeDone() 
 - 
                                        isCodeInterpreterCallCompletedfinal Boolean isCodeInterpreterCallCompleted() 
 - 
                                        isCodeInterpreterCallInProgressfinal Boolean isCodeInterpreterCallInProgress() 
 - 
                                        isCodeInterpreterCallInterpretingfinal Boolean isCodeInterpreterCallInterpreting() 
 - 
                                        isCompletedfinal Boolean isCompleted() 
 - 
                                        isContentPartAddedfinal Boolean isContentPartAdded() 
 - 
                                        isContentPartDonefinal Boolean isContentPartDone() 
 - 
                                        isFileSearchCallCompletedfinal Boolean isFileSearchCallCompleted() 
 - 
                                        isFileSearchCallInProgressfinal Boolean isFileSearchCallInProgress() 
 - 
                                        isFileSearchCallSearchingfinal Boolean isFileSearchCallSearching() 
 - 
                                        isFunctionCallArgumentsDeltafinal Boolean isFunctionCallArgumentsDelta() 
 - 
                                        isFunctionCallArgumentsDonefinal Boolean isFunctionCallArgumentsDone() 
 - 
                                        isInProgressfinal Boolean isInProgress() 
 - 
                                        isIncompletefinal Boolean isIncomplete() 
 - 
                                        isOutputItemAddedfinal Boolean isOutputItemAdded() 
 - 
                                        isOutputItemDonefinal Boolean isOutputItemDone() 
 - 
                                        isReasoningSummaryPartAddedfinal Boolean isReasoningSummaryPartAdded() 
 - 
                                        isReasoningSummaryPartDonefinal Boolean isReasoningSummaryPartDone() 
 - 
                                        isReasoningSummaryTextDeltafinal Boolean isReasoningSummaryTextDelta() 
 - 
                                        isReasoningSummaryTextDonefinal Boolean isReasoningSummaryTextDone() 
 - 
                                        isReasoningTextDeltafinal Boolean isReasoningTextDelta() 
 - 
                                        isReasoningTextDonefinal Boolean isReasoningTextDone() 
 - 
                                        isRefusalDeltafinal Boolean isRefusalDelta() 
 - 
                                        isRefusalDonefinal Boolean isRefusalDone() 
 - 
                                        isOutputTextDeltafinal Boolean isOutputTextDelta() 
 - 
                                        isOutputTextDonefinal Boolean isOutputTextDone() 
 - 
                                        isWebSearchCallCompletedfinal Boolean isWebSearchCallCompleted() 
 - 
                                        isWebSearchCallInProgressfinal Boolean isWebSearchCallInProgress() 
 - 
                                        isWebSearchCallSearchingfinal Boolean isWebSearchCallSearching() 
 - 
                                        isImageGenerationCallCompletedfinal Boolean isImageGenerationCallCompleted() 
 - 
                                        isImageGenerationCallGeneratingfinal Boolean isImageGenerationCallGenerating() 
 - 
                                        isImageGenerationCallInProgressfinal Boolean isImageGenerationCallInProgress() 
 - 
                                        isImageGenerationCallPartialImagefinal Boolean isImageGenerationCallPartialImage() 
 - 
                                        isMcpCallArgumentsDeltafinal Boolean isMcpCallArgumentsDelta() 
 - 
                                        isMcpCallArgumentsDonefinal Boolean isMcpCallArgumentsDone() 
 - 
                                        isMcpCallCompletedfinal Boolean isMcpCallCompleted() 
 - 
                                        isMcpCallFailedfinal Boolean isMcpCallFailed() 
 - 
                                        isMcpCallInProgressfinal Boolean isMcpCallInProgress() 
 - 
                                        isMcpListToolsCompletedfinal Boolean isMcpListToolsCompleted() 
 - 
                                        isMcpListToolsFailedfinal Boolean isMcpListToolsFailed() 
 - 
                                        isMcpListToolsInProgressfinal Boolean isMcpListToolsInProgress() 
 - 
                                        isOutputTextAnnotationAddedfinal Boolean isOutputTextAnnotationAdded() 
 - 
                                        isCustomToolCallInputDeltafinal Boolean isCustomToolCallInputDelta() 
 - 
                                        isCustomToolCallInputDonefinal Boolean isCustomToolCallInputDone() 
 - 
                                        asAudioDeltafinal ResponseAudioDeltaEvent asAudioDelta() Emitted when there is a partial audio response. 
 - 
                                        asAudioDonefinal ResponseAudioDoneEvent asAudioDone() Emitted when the audio response is complete. 
 - 
                                        asAudioTranscriptDeltafinal ResponseAudioTranscriptDeltaEvent asAudioTranscriptDelta() Emitted when there is a partial transcript of audio. 
 - 
                                        asAudioTranscriptDonefinal ResponseAudioTranscriptDoneEvent asAudioTranscriptDone() Emitted when the full audio transcript is completed. 
 - 
                                        asCodeInterpreterCallCodeDeltafinal ResponseCodeInterpreterCallCodeDeltaEvent asCodeInterpreterCallCodeDelta() Emitted when a partial code snippet is streamed by the code interpreter. 
 - 
                                        asCodeInterpreterCallCodeDonefinal ResponseCodeInterpreterCallCodeDoneEvent asCodeInterpreterCallCodeDone() Emitted when the code snippet is finalized by the code interpreter. 
 - 
                                        asCodeInterpreterCallCompletedfinal ResponseCodeInterpreterCallCompletedEvent asCodeInterpreterCallCompleted() Emitted when the code interpreter call is completed. 
 - 
                                        asCodeInterpreterCallInProgressfinal ResponseCodeInterpreterCallInProgressEvent asCodeInterpreterCallInProgress() Emitted when a code interpreter call is in progress. 
 - 
                                        asCodeInterpreterCallInterpretingfinal ResponseCodeInterpreterCallInterpretingEvent asCodeInterpreterCallInterpreting() Emitted when the code interpreter is actively interpreting the code snippet. 
 - 
                                        asCompletedfinal ResponseCompletedEvent asCompleted() Emitted when the model response is complete. 
 - 
                                        asContentPartAddedfinal ResponseContentPartAddedEvent asContentPartAdded() Emitted when a new content part is added. 
 - 
                                        asContentPartDonefinal ResponseContentPartDoneEvent asContentPartDone() Emitted when a content part is done. 
 - 
                                        asCreatedfinal ResponseCreatedEvent asCreated() An event that is emitted when a response is created. 
 - 
                                        asErrorfinal ResponseErrorEvent asError() Emitted when an error occurs. 
 - 
                                        asFileSearchCallCompletedfinal ResponseFileSearchCallCompletedEvent asFileSearchCallCompleted() Emitted when a file search call is completed (results found). 
 - 
                                        asFileSearchCallInProgressfinal ResponseFileSearchCallInProgressEvent asFileSearchCallInProgress() Emitted when a file search call is initiated. 
 - 
                                        asFileSearchCallSearchingfinal ResponseFileSearchCallSearchingEvent asFileSearchCallSearching() Emitted when a file search is currently searching. 
 - 
                                        asFunctionCallArgumentsDeltafinal ResponseFunctionCallArgumentsDeltaEvent asFunctionCallArgumentsDelta() Emitted when there is a partial function-call arguments delta. 
 - 
                                        asFunctionCallArgumentsDonefinal ResponseFunctionCallArgumentsDoneEvent asFunctionCallArgumentsDone() Emitted when function-call arguments are finalized. 
 - 
                                        asInProgressfinal ResponseInProgressEvent asInProgress() Emitted when the response is in progress. 
 - 
                                        asFailedfinal ResponseFailedEvent asFailed() An event that is emitted when a response fails. 
 - 
                                        asIncompletefinal ResponseIncompleteEvent asIncomplete() An event that is emitted when a response finishes as incomplete. 
 - 
                                        asOutputItemAddedfinal ResponseOutputItemAddedEvent asOutputItemAdded() Emitted when a new output item is added. 
 - 
                                        asOutputItemDonefinal ResponseOutputItemDoneEvent asOutputItemDone() Emitted when an output item is marked done. 
 - 
                                        asReasoningSummaryPartAddedfinal ResponseReasoningSummaryPartAddedEvent asReasoningSummaryPartAdded() Emitted when a new reasoning summary part is added. 
 - 
                                        asReasoningSummaryPartDonefinal ResponseReasoningSummaryPartDoneEvent asReasoningSummaryPartDone() Emitted when a reasoning summary part is completed. 
 - 
                                        asReasoningSummaryTextDeltafinal ResponseReasoningSummaryTextDeltaEvent asReasoningSummaryTextDelta() Emitted when a delta is added to a reasoning summary text. 
 - 
                                        asReasoningSummaryTextDonefinal ResponseReasoningSummaryTextDoneEvent asReasoningSummaryTextDone() Emitted when a reasoning summary text is completed. 
 - 
                                        asReasoningTextDeltafinal ResponseReasoningTextDeltaEvent asReasoningTextDelta() Emitted when a delta is added to a reasoning text. 
 - 
                                        asReasoningTextDonefinal ResponseReasoningTextDoneEvent asReasoningTextDone() Emitted when a reasoning text is completed. 
 - 
                                        asRefusalDeltafinal ResponseRefusalDeltaEvent asRefusalDelta() Emitted when there is a partial refusal text. 
 - 
                                        asRefusalDonefinal ResponseRefusalDoneEvent asRefusalDone() Emitted when refusal text is finalized. 
 - 
                                        asOutputTextDeltafinal ResponseTextDeltaEvent asOutputTextDelta() Emitted when there is an additional text delta. 
 - 
                                        asOutputTextDonefinal ResponseTextDoneEvent asOutputTextDone() Emitted when text content is finalized. 
 - 
                                        asWebSearchCallCompletedfinal ResponseWebSearchCallCompletedEvent asWebSearchCallCompleted() Emitted when a web search call is completed. 
 - 
                                        asWebSearchCallInProgressfinal ResponseWebSearchCallInProgressEvent asWebSearchCallInProgress() Emitted when a web search call is initiated. 
 - 
                                        asWebSearchCallSearchingfinal ResponseWebSearchCallSearchingEvent asWebSearchCallSearching() Emitted when a web search call is executing. 
 - 
                                        asImageGenerationCallCompletedfinal ResponseImageGenCallCompletedEvent asImageGenerationCallCompleted() Emitted when an image generation tool call has completed and the final image is available. 
 - 
                                        asImageGenerationCallGeneratingfinal ResponseImageGenCallGeneratingEvent asImageGenerationCallGenerating() Emitted when an image generation tool call is actively generating an image (intermediate state). 
 - 
                                        asImageGenerationCallInProgressfinal ResponseImageGenCallInProgressEvent asImageGenerationCallInProgress() Emitted when an image generation tool call is in progress. 
 - 
                                        asImageGenerationCallPartialImagefinal ResponseImageGenCallPartialImageEvent asImageGenerationCallPartialImage() Emitted when a partial image is available during image generation streaming. 
 - 
                                        asMcpCallArgumentsDeltafinal ResponseMcpCallArgumentsDeltaEvent asMcpCallArgumentsDelta() Emitted when there is a delta (partial update) to the arguments of an MCP tool call. 
 - 
                                        asMcpCallArgumentsDonefinal ResponseMcpCallArgumentsDoneEvent asMcpCallArgumentsDone() Emitted when the arguments for an MCP tool call are finalized. 
 - 
                                        asMcpCallCompletedfinal ResponseMcpCallCompletedEvent asMcpCallCompleted() Emitted when an MCP tool call has completed successfully. 
 - 
                                        asMcpCallFailedfinal ResponseMcpCallFailedEvent asMcpCallFailed() Emitted when an MCP tool call has failed. 
 - 
                                        asMcpCallInProgressfinal ResponseMcpCallInProgressEvent asMcpCallInProgress() Emitted when an MCP tool call is in progress. 
 - 
                                        asMcpListToolsCompletedfinal ResponseMcpListToolsCompletedEvent asMcpListToolsCompleted() Emitted when the list of available MCP tools has been successfully retrieved. 
 - 
                                        asMcpListToolsFailedfinal ResponseMcpListToolsFailedEvent asMcpListToolsFailed() Emitted when the attempt to list available MCP tools has failed. 
 - 
                                        asMcpListToolsInProgressfinal ResponseMcpListToolsInProgressEvent asMcpListToolsInProgress() Emitted when the system is in the process of retrieving the list of available MCP tools. 
 - 
                                        asOutputTextAnnotationAddedfinal ResponseOutputTextAnnotationAddedEvent asOutputTextAnnotationAdded() Emitted when an annotation is added to output text content. 
 - 
                                        asQueuedfinal ResponseQueuedEvent asQueued() Emitted when a response is queued and waiting to be processed. 
 - 
                                        asCustomToolCallInputDeltafinal ResponseCustomToolCallInputDeltaEvent asCustomToolCallInputDelta() Event representing a delta (partial update) to the input of a custom tool call. 
 - 
                                        asCustomToolCallInputDonefinal ResponseCustomToolCallInputDoneEvent asCustomToolCallInputDone() Event indicating that input for a custom tool call is complete. 
 - 
                                        acceptfinal <T extends Any> T accept(ResponseStreamEvent.Visitor<T> visitor) 
 - 
                                        validatefinal ResponseStreamEvent validate() 
 - 
                                        ofAudioDeltafinal static ResponseStreamEvent ofAudioDelta(ResponseAudioDeltaEvent audioDelta) Emitted when there is a partial audio response. 
 - 
                                        ofAudioDonefinal static ResponseStreamEvent ofAudioDone(ResponseAudioDoneEvent audioDone) Emitted when the audio response is complete. 
 - 
                                        ofAudioTranscriptDeltafinal static ResponseStreamEvent ofAudioTranscriptDelta(ResponseAudioTranscriptDeltaEvent audioTranscriptDelta) Emitted when there is a partial transcript of audio. 
 - 
                                        ofAudioTranscriptDonefinal static ResponseStreamEvent ofAudioTranscriptDone(ResponseAudioTranscriptDoneEvent audioTranscriptDone) Emitted when the full audio transcript is completed. 
 - 
                                        ofCodeInterpreterCallCodeDeltafinal static ResponseStreamEvent ofCodeInterpreterCallCodeDelta(ResponseCodeInterpreterCallCodeDeltaEvent codeInterpreterCallCodeDelta) Emitted when a partial code snippet is streamed by the code interpreter. 
 - 
                                        ofCodeInterpreterCallCodeDonefinal static ResponseStreamEvent ofCodeInterpreterCallCodeDone(ResponseCodeInterpreterCallCodeDoneEvent codeInterpreterCallCodeDone) Emitted when the code snippet is finalized by the code interpreter. 
 - 
                                        ofCodeInterpreterCallCompletedfinal static ResponseStreamEvent ofCodeInterpreterCallCompleted(ResponseCodeInterpreterCallCompletedEvent codeInterpreterCallCompleted) Emitted when the code interpreter call is completed. 
 - 
                                        ofCodeInterpreterCallInProgressfinal static ResponseStreamEvent ofCodeInterpreterCallInProgress(ResponseCodeInterpreterCallInProgressEvent codeInterpreterCallInProgress) Emitted when a code interpreter call is in progress. 
 - 
                                        ofCodeInterpreterCallInterpretingfinal static ResponseStreamEvent ofCodeInterpreterCallInterpreting(ResponseCodeInterpreterCallInterpretingEvent codeInterpreterCallInterpreting) Emitted when the code interpreter is actively interpreting the code snippet. 
 - 
                                        ofCompletedfinal static ResponseStreamEvent ofCompleted(ResponseCompletedEvent completed) Emitted when the model response is complete. 
 - 
                                        ofContentPartAddedfinal static ResponseStreamEvent ofContentPartAdded(ResponseContentPartAddedEvent contentPartAdded) Emitted when a new content part is added. 
 - 
                                        ofContentPartDonefinal static ResponseStreamEvent ofContentPartDone(ResponseContentPartDoneEvent contentPartDone) Emitted when a content part is done. 
 - 
                                        ofCreatedfinal static ResponseStreamEvent ofCreated(ResponseCreatedEvent created) An event that is emitted when a response is created. 
 - 
                                        ofErrorfinal static ResponseStreamEvent ofError(ResponseErrorEvent error) Emitted when an error occurs. 
 - 
                                        ofFileSearchCallCompletedfinal static ResponseStreamEvent ofFileSearchCallCompleted(ResponseFileSearchCallCompletedEvent fileSearchCallCompleted) Emitted when a file search call is completed (results found). 
 - 
                                        ofFileSearchCallInProgressfinal static ResponseStreamEvent ofFileSearchCallInProgress(ResponseFileSearchCallInProgressEvent fileSearchCallInProgress) Emitted when a file search call is initiated. 
 - 
                                        ofFileSearchCallSearchingfinal static ResponseStreamEvent ofFileSearchCallSearching(ResponseFileSearchCallSearchingEvent fileSearchCallSearching) Emitted when a file search is currently searching. 
 - 
                                        ofFunctionCallArgumentsDeltafinal static ResponseStreamEvent ofFunctionCallArgumentsDelta(ResponseFunctionCallArgumentsDeltaEvent functionCallArgumentsDelta) Emitted when there is a partial function-call arguments delta. 
 - 
                                        ofFunctionCallArgumentsDonefinal static ResponseStreamEvent ofFunctionCallArgumentsDone(ResponseFunctionCallArgumentsDoneEvent functionCallArgumentsDone) Emitted when function-call arguments are finalized. 
 - 
                                        ofInProgressfinal static ResponseStreamEvent ofInProgress(ResponseInProgressEvent inProgress) Emitted when the response is in progress. 
 - 
                                        ofFailedfinal static ResponseStreamEvent ofFailed(ResponseFailedEvent failed) An event that is emitted when a response fails. 
 - 
                                        ofIncompletefinal static ResponseStreamEvent ofIncomplete(ResponseIncompleteEvent incomplete) An event that is emitted when a response finishes as incomplete. 
 - 
                                        ofOutputItemAddedfinal static ResponseStreamEvent ofOutputItemAdded(ResponseOutputItemAddedEvent outputItemAdded) Emitted when a new output item is added. 
 - 
                                        ofOutputItemDonefinal static ResponseStreamEvent ofOutputItemDone(ResponseOutputItemDoneEvent outputItemDone) Emitted when an output item is marked done. 
 - 
                                        ofReasoningSummaryPartAddedfinal static ResponseStreamEvent ofReasoningSummaryPartAdded(ResponseReasoningSummaryPartAddedEvent reasoningSummaryPartAdded) Emitted when a new reasoning summary part is added. 
 - 
                                        ofReasoningSummaryPartDonefinal static ResponseStreamEvent ofReasoningSummaryPartDone(ResponseReasoningSummaryPartDoneEvent reasoningSummaryPartDone) Emitted when a reasoning summary part is completed. 
 - 
                                        ofReasoningSummaryTextDeltafinal static ResponseStreamEvent ofReasoningSummaryTextDelta(ResponseReasoningSummaryTextDeltaEvent reasoningSummaryTextDelta) Emitted when a delta is added to a reasoning summary text. 
 - 
                                        ofReasoningSummaryTextDonefinal static ResponseStreamEvent ofReasoningSummaryTextDone(ResponseReasoningSummaryTextDoneEvent reasoningSummaryTextDone) Emitted when a reasoning summary text is completed. 
 - 
                                        ofReasoningTextDeltafinal static ResponseStreamEvent ofReasoningTextDelta(ResponseReasoningTextDeltaEvent reasoningTextDelta) Emitted when a delta is added to a reasoning text. 
 - 
                                        ofReasoningTextDonefinal static ResponseStreamEvent ofReasoningTextDone(ResponseReasoningTextDoneEvent reasoningTextDone) Emitted when a reasoning text is completed. 
 - 
                                        ofRefusalDeltafinal static ResponseStreamEvent ofRefusalDelta(ResponseRefusalDeltaEvent refusalDelta) Emitted when there is a partial refusal text. 
 - 
                                        ofRefusalDonefinal static ResponseStreamEvent ofRefusalDone(ResponseRefusalDoneEvent refusalDone) Emitted when refusal text is finalized. 
 - 
                                        ofOutputTextDeltafinal static ResponseStreamEvent ofOutputTextDelta(ResponseTextDeltaEvent outputTextDelta) Emitted when there is an additional text delta. 
 - 
                                        ofOutputTextDonefinal static ResponseStreamEvent ofOutputTextDone(ResponseTextDoneEvent outputTextDone) Emitted when text content is finalized. 
 - 
                                        ofWebSearchCallCompletedfinal static ResponseStreamEvent ofWebSearchCallCompleted(ResponseWebSearchCallCompletedEvent webSearchCallCompleted) Emitted when a web search call is completed. 
 - 
                                        ofWebSearchCallInProgressfinal static ResponseStreamEvent ofWebSearchCallInProgress(ResponseWebSearchCallInProgressEvent webSearchCallInProgress) Emitted when a web search call is initiated. 
 - 
                                        ofWebSearchCallSearchingfinal static ResponseStreamEvent ofWebSearchCallSearching(ResponseWebSearchCallSearchingEvent webSearchCallSearching) Emitted when a web search call is executing. 
 - 
                                        ofImageGenerationCallCompletedfinal static ResponseStreamEvent ofImageGenerationCallCompleted(ResponseImageGenCallCompletedEvent imageGenerationCallCompleted) Emitted when an image generation tool call has completed and the final image is available. 
 - 
                                        ofImageGenerationCallGeneratingfinal static ResponseStreamEvent ofImageGenerationCallGenerating(ResponseImageGenCallGeneratingEvent imageGenerationCallGenerating) Emitted when an image generation tool call is actively generating an image (intermediate state). 
 - 
                                        ofImageGenerationCallInProgressfinal static ResponseStreamEvent ofImageGenerationCallInProgress(ResponseImageGenCallInProgressEvent imageGenerationCallInProgress) Emitted when an image generation tool call is in progress. 
 - 
                                        ofImageGenerationCallPartialImagefinal static ResponseStreamEvent ofImageGenerationCallPartialImage(ResponseImageGenCallPartialImageEvent imageGenerationCallPartialImage) Emitted when a partial image is available during image generation streaming. 
 - 
                                        ofMcpCallArgumentsDeltafinal static ResponseStreamEvent ofMcpCallArgumentsDelta(ResponseMcpCallArgumentsDeltaEvent mcpCallArgumentsDelta) Emitted when there is a delta (partial update) to the arguments of an MCP tool call. 
 - 
                                        ofMcpCallArgumentsDonefinal static ResponseStreamEvent ofMcpCallArgumentsDone(ResponseMcpCallArgumentsDoneEvent mcpCallArgumentsDone) Emitted when the arguments for an MCP tool call are finalized. 
 - 
                                        ofMcpCallCompletedfinal static ResponseStreamEvent ofMcpCallCompleted(ResponseMcpCallCompletedEvent mcpCallCompleted) Emitted when an MCP tool call has completed successfully. 
 - 
                                        ofMcpCallFailedfinal static ResponseStreamEvent ofMcpCallFailed(ResponseMcpCallFailedEvent mcpCallFailed) Emitted when an MCP tool call has failed. 
 - 
                                        ofMcpCallInProgressfinal static ResponseStreamEvent ofMcpCallInProgress(ResponseMcpCallInProgressEvent mcpCallInProgress) Emitted when an MCP tool call is in progress. 
 - 
                                        ofMcpListToolsCompletedfinal static ResponseStreamEvent ofMcpListToolsCompleted(ResponseMcpListToolsCompletedEvent mcpListToolsCompleted) Emitted when the list of available MCP tools has been successfully retrieved. 
 - 
                                        ofMcpListToolsFailedfinal static ResponseStreamEvent ofMcpListToolsFailed(ResponseMcpListToolsFailedEvent mcpListToolsFailed) Emitted when the attempt to list available MCP tools has failed. 
 - 
                                        ofMcpListToolsInProgressfinal static ResponseStreamEvent ofMcpListToolsInProgress(ResponseMcpListToolsInProgressEvent mcpListToolsInProgress) Emitted when the system is in the process of retrieving the list of available MCP tools. 
 - 
                                        ofOutputTextAnnotationAddedfinal static ResponseStreamEvent ofOutputTextAnnotationAdded(ResponseOutputTextAnnotationAddedEvent outputTextAnnotationAdded) Emitted when an annotation is added to output text content. 
 - 
                                        ofQueuedfinal static ResponseStreamEvent ofQueued(ResponseQueuedEvent queued) Emitted when a response is queued and waiting to be processed. 
 - 
                                        ofCustomToolCallInputDeltafinal static ResponseStreamEvent ofCustomToolCallInputDelta(ResponseCustomToolCallInputDeltaEvent customToolCallInputDelta) Event representing a delta (partial update) to the input of a custom tool call. 
 - 
                                        ofCustomToolCallInputDonefinal static ResponseStreamEvent ofCustomToolCallInputDone(ResponseCustomToolCallInputDoneEvent customToolCallInputDone) Event indicating that input for a custom tool call is complete. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-