Skip to content

Package com.paragon.responses.streaming

This docs was updated at: 2026-02-23


Classs

Name Description
PartialJsonParser A lenient JSON parser that attempts to parse incomplete JSON strings
ResponseStream A streaming response wrapper for OpenAI Responses API Server-Sent Events (SSE)

Records

Name Description
CodeInterpreterCallCodeDeltaEvent Emitted when a partial code snippet is streamed by the code interpreter
CodeInterpreterCallCodeDoneEvent Emitted when the code snippet is finalized by the code interpreter
CodeInterpreterCallCompletedEvent Emitted when the code interpreter call is completed
CodeInterpreterCallInProgressEvent Emitted when a code interpreter call is in progress
CodeInterpreterCallInterpretingEvent Emitted when the code interpreter is actively interpreting the code snippet
ContentPartAddedEvent Emitted when a new content part is added
ContentPartDoneEvent Emitted when a content part is done
CustomToolCallInputDeltaEvent Event representing a delta (partial update) to the input of a custom tool call
CustomToolCallInputDoneEvent Event indicating that input for a custom tool call is complete
FileSearchCallCompletedEvent Emitted when a file search call is completed (results found)
FileSearchCallInProgressEvent Emitted when a file search call is initiated
FileSearchCallSearchingEvent Emitted when a file search is currently searching
FunctionCallArgumentsDeltaEvent Emitted when there is a partial function-call arguments delta
FunctionCallArgumentsDoneEvent Emitted when function-call arguments are finalized
ImageGenerationCallCompletedEvent Emitted when an image generation tool call has completed and the final image is available
ImageGenerationCallGeneratingEvent Emitted when an image generation tool call is actively generating an image
ImageGenerationCallInProgressEvent Emitted when an image generation tool call is in progress
ImageGenerationCallPartialImageEvent Emitted when a partial image is available during image generation streaming
McpCallArgumentsDeltaEvent Emitted when there is a delta (partial update) to the arguments of an MCP tool call
McpCallArgumentsDoneEvent Emitted when the arguments for an MCP tool call are finalized
McpCallCompletedEvent Emitted when an MCP tool call has completed successfully
McpCallFailedEvent Emitted when an MCP tool call has failed
McpCallInProgressEvent Emitted when an MCP tool call is in progress
McpListToolsCompletedEvent Emitted when the list of available MCP tools has been successfully retrieved
McpListToolsFailedEvent Emitted when the attempt to list available MCP tools has failed
McpListToolsInProgressEvent Emitted when the system is in the process of retrieving the list of available MCP tools
OutputItemAddedEvent Emitted when a new output item is added
OutputItemDoneEvent Emitted when an output item is marked done
OutputTextAnnotationAddedEvent Emitted when an annotation is added to output text content
OutputTextDeltaEvent Emitted when there is an additional text delta
OutputTextDoneEvent Emitted when text content is finalized
ReasoningSummaryPartAddedEvent Emitted when a new reasoning summary part is added
ReasoningSummaryPartDoneEvent Emitted when a reasoning summary part is completed
ReasoningSummaryTextDeltaEvent Emitted when a delta is added to a reasoning summary text
ReasoningSummaryTextDoneEvent Emitted when a reasoning summary text is completed
ReasoningTextDeltaEvent Emitted when a delta is added to a reasoning text
ReasoningTextDoneEvent Emitted when a reasoning text is completed
RefusalDeltaEvent Emitted when there is a partial refusal text
RefusalDoneEvent Emitted when refusal text is finalized
ResponseCompletedEvent Emitted when the model response is complete
ResponseCreatedEvent Emitted when a response is created
ResponseFailedEvent Emitted when a response fails
ResponseInProgressEvent Emitted when the response is in progress
ResponseIncompleteEvent Emitted when a response finishes as incomplete
ResponseQueuedEvent Emitted when a response is queued and waiting to be processed
StreamingErrorEvent Emitted when an error occurs during streaming
WebSearchCallCompletedEvent Emitted when a web search call is completed
WebSearchCallInProgressEvent Emitted when a web search call is initiated
WebSearchCallSearchingEvent Emitted when a web search call is executing