
    Yj                       U d dl mZ d dlmZ d dlmZmZmZmZm	Z	 ddl
mZ ddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZDmEZEmFZFmGZGmHZHmIZImJZJmKZK ddlLmMZM dd	lNmOZO  ed
d      ZP G d de      Z G d deeeeP         Z G d deD      ZC G d deeeeP         Zeeg eeeP   eCeeP   eee)e(eHeFeIeJeKe$e"eee7e;e8e?e/e0e+eGeEeeee#e!eeee4e9e5eAe=eBe>e,e2e1e<e%e-e*e e&e.e'e3e@eeOeMe:e6    ed      f   ZQdeRd<   y)    )annotations)Optional)UnionGenericTypeVar	Annotated	TypeAlias   )PropertyInfo)GenericModel)9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!ResponseShellCallCommandDoneEvent"ResponseImageGenCallCompletedEvent"ResponseMcpCallArgumentsDeltaEvent"ResponseMcpListToolsCompletedEvent"ResponseShellCallCommandAddedEvent"ResponseShellCallCommandDeltaEvent#ResponseImageGenCallGeneratingEvent#ResponseImageGenCallInProgressEvent#ResponseMcpListToolsInProgressEvent#ResponseWebSearchCallCompletedEvent#ResponseWebSearchCallSearchingEvent$ResponseCustomToolCallInputDoneEvent$ResponseFileSearchCallCompletedEvent$ResponseFileSearchCallSearchingEvent$ResponseWebSearchCallInProgressEvent%ResponseCustomToolCallInputDeltaEvent%ResponseFileSearchCallInProgressEvent%ResponseImageGenCallPartialImageEvent%ResponseReasoningSummaryPartDoneEvent%ResponseReasoningSummaryTextDoneEvent&ResponseFunctionCallArgumentsDoneEvent&ResponseOutputTextAnnotationAddedEvent&ResponseReasoningSummaryPartAddedEvent&ResponseReasoningSummaryTextDeltaEvent'ResponseFunctionCallArgumentsDeltaEvent'ResponseShellCallOutputContentDoneEvent(ResponseCodeInterpreterCallCodeDoneEvent(ResponseShellCallOutputContentDeltaEvent)ResponseCodeInterpreterCallCodeDeltaEvent)ResponseCodeInterpreterCallCompletedEvent*ResponseCodeInterpreterCallInProgressEvent,ResponseCodeInterpreterCallInterpretingEvent)ResponseReasoningTextDoneEvent)ResponseReasoningTextDeltaEventTextFormatTN)defaultc                      e Zd ZU ded<   y)r   strsnapshotN__name__
__module____qualname____annotations__     e/var/www/html/vmm-quimica/venv/lib/python3.12/site-packages/openai/lib/streaming/responses/_events.pyr   r   M       MrS   r   c                      e Zd ZU dZded<   y)r   NzOptional[TextFormatT]parsed)rN   rO   rP   rW   rQ   rR   rS   rT   r   r   Q   s    $(F!(rS   r   c                      e Zd ZU ded<   y)r>   rK   rL   NrM   rR   rS   rT   r>   r>   U   rU   rS   r>   c                      e Zd ZU ded<   y)r   zParsedResponse[TextFormatT]responseNrM   rR   rS   rT   r   r   Y   s    ))rS   r   type)discriminatorr	   ResponseStreamEvent)S
__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;   r<   r=   r>   *RawResponseFunctionCallArgumentsDeltaEventr?   r@   rA   rB   rC   rD   rE   2types.responses.response_reasoning_text_done_eventrF   3types.responses.response_reasoning_text_delta_eventrG   rH   r]   rQ   rR   rS   rT   <module>rj      s   "  K K # $: : : : : : : : : : : : : : :v b c6 )4lGKDX ).X *6gkFZ * "+	;	. ;	.k*;	./;	. 	{+;	.
 	 ;	. 	;	. 	*;	. 	);	. 	2;	. 	1;	. 	2;	. 	3;	. 	5;	. 	&;	. 	%;	.  	!;	." 	#;	.$ 	-%;	.& 	.';	.( 	-);	.* 	/+;	., 	+-;	.. 	+/;	.0 	*1;	.2 	13;	.4 	05;	.6 	 7;	.8 	9;	.: 	 ;;	.< 	%=;	.> 	$?;	.@ 	"A;	.B 	!C;	.D 	E;	.F 	,G;	.H 	-I;	.J 	,K;	.L 	/M;	.N 	.O;	.P 	/Q;	.R 	.S;	.T 	+U;	.V 	,W;	.X 	,Y;	.Z 	.[;	.\ 	&];	.^ 	+_;	.` 	*a;	.b 	#c;	.d 	'e;	.f 	+g;	.h 	(i;	.j 	,k;	.l 	/m;	.n 	o;	.p 	(q;	.r 	's;	.t 	.u;	.v 	-w;	.>~ v&?(A" Y ArS   