
    毝h                       % S SK Jr  S SKJr  S SKJrJrJrJrJ	r	  SSK
Jr  SSKJr  SSKJrJrJrJrJrJrJrJrJrJrJrJrJrJrJ r J!r!J"r"J#r#J$r$J%r%J&r&J'r'J(r(J)r)J*r*J+r+J,r,J-r-J.r.J/r/J0r0J1r1J2r2J3r3J4r4J5r5J6r6J7r7J8r8J9r9J:r:J;r;J<r<J=r=J>r>J?r?J@rAJBrBJCrCJDrDJErEJFrF  SSKGJHrH  SS	KIJJrJ  \" S
SS9rK " S S\5      r " S S\\\\K   5      r " S S\A5      r@ " S S\\\\K   5      r\\/ \P\\K   P\@P\\K   P\P\P\)P\(P\CP\BP\DP\EP\FP\$P\"P\P\P\4P\8P\5P\<P\P\P\P\#P\!P\P\P\P\1P\6P\2P\>P\:P\?P\;P\+P\/P\.P\9P\%P\,P\*P\ P\&P\-P\'P\0P\=P\P\JP\HP\7P\3P7   \" SS94   rLS\MS'   g)    )annotations)Optional)UnionGenericTypeVar	Annotated	TypeAlias   )PropertyInfo)GenericModel)4ParsedResponseResponseErrorEventResponseFailedEventResponseQueuedEventResponseCreatedEventResponseTextDoneEventResponseAudioDoneEventResponseCompletedEventResponseTextDeltaEventResponseAudioDeltaEventResponseIncompleteEventResponseInProgressEventResponseRefusalDoneEventResponseRefusalDeltaEventResponseMcpCallFailedEventResponseOutputItemDoneEventResponseContentPartDoneEventResponseOutputItemAddedEventResponseContentPartAddedEventResponseMcpCallCompletedEventResponseMcpCallInProgressEventResponseMcpListToolsFailedEvent ResponseAudioTranscriptDoneEvent!ResponseAudioTranscriptDeltaEvent!ResponseMcpCallArgumentsDoneEvent"ResponseImageGenCallCompletedEvent"ResponseMcpCallArgumentsDeltaEvent"ResponseMcpListToolsCompletedEvent#ResponseImageGenCallGeneratingEvent#ResponseImageGenCallInProgressEvent#ResponseMcpListToolsInProgressEvent#ResponseWebSearchCallCompletedEvent#ResponseWebSearchCallSearchingEvent$ResponseCustomToolCallInputDoneEvent$ResponseFileSearchCallCompletedEvent$ResponseFileSearchCallSearchingEvent$ResponseWebSearchCallInProgressEvent%ResponseCustomToolCallInputDeltaEvent%ResponseFileSearchCallInProgressEvent%ResponseImageGenCallPartialImageEvent%ResponseReasoningSummaryPartDoneEvent%ResponseReasoningSummaryTextDoneEvent&ResponseFunctionCallArgumentsDoneEvent&ResponseOutputTextAnnotationAddedEvent&ResponseReasoningSummaryPartAddedEvent&ResponseReasoningSummaryTextDeltaEvent'ResponseFunctionCallArgumentsDeltaEvent(ResponseCodeInterpreterCallCodeDoneEvent)ResponseCodeInterpreterCallCodeDeltaEvent)ResponseCodeInterpreterCallCompletedEvent*ResponseCodeInterpreterCallInProgressEvent,ResponseCodeInterpreterCallInterpretingEvent)ResponseReasoningTextDoneEvent)ResponseReasoningTextDeltaEventTextFormatTN)defaultc                       \ rS rSr% S\S'   Srg)r   H   strsnapshot N__name__
__module____qualname____firstlineno____annotations____static_attributes__rI       ^/var/www/html/shao/venv/lib/python3.13/site-packages/openai/lib/streaming/responses/_events.pyr   r   H       MrQ   r   c                  $    \ rS rSr% SrS\S'   Srg)r   L   NzOptional[TextFormatT]parsedrI   )rK   rL   rM   rN   rV   rO   rP   rI   rQ   rR   r   r   L   s    $(F!(rQ   r   c                       \ rS rSr% S\S'   Srg)r;   P   rG   rH   rI   NrJ   rI   rQ   rR   r;   r;   P   rS   rQ   r;   c                       \ rS rSr% S\S'   Srg)r   T   zParsedResponse[TextFormatT]responserI   NrJ   rI   rQ   rR   r   r   T   s    ))rQ   r   type)discriminatorr	   ResponseStreamEvent)N
__future__r   typingr   typing_extensionsr   r   r   r   r	   _utilsr   _compatr   types.responsesr   r   r   r   r   r   RawResponseTextDoneEventr   r   RawResponseCompletedEventr   RawResponseTextDeltaEventr   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   *RawResponseFunctionCallArgumentsDeltaEventr<   r=   r>   r?   r@   2types.responses.response_reasoning_text_done_eventrA   3types.responses.response_reasoning_text_delta_eventrB   rC   r^   rO   rI   rQ   rR   <module>rk      s=   "  K K # $5 5 5 5 5 5 5 5 5 5 5 5 5 5l b c6 )4lGKDX ).X *6gkFZ * "+	6	. 6	.k*6	./6	. 	{+6	.
 	 6	. 	6	. 	*6	. 	)6	. 	26	. 	16	. 	26	. 	36	. 	56	. 	&6	. 	%6	.  	!6	." 	#6	.$ 	-%6	.& 	.'6	.( 	-)6	.* 	/+6	., 	 -6	.. 	/6	.0 	 16	.2 	%36	.4 	$56	.6 	"76	.8 	!96	.: 	;6	.< 	,=6	.> 	-?6	.@ 	,A6	.B 	/C6	.D 	.E6	.F 	/G6	.H 	.I6	.J 	+K6	.L 	,M6	.N 	,O6	.P 	.Q6	.R 	&S6	.T 	+U6	.V 	*W6	.X 	#Y6	.Z 	'[6	.\ 	+]6	.^ 	(_6	.` 	,a6	.b 	/c6	.d 	e6	.f 	(g6	.h 	'i6	.j 	.k6	.l 	-m6	.9t v&u:(<" Y <rQ   