+
    ~j                     N   ^ RI Ht ^ RIHt ^ RIt^RIHt ^RIHtH	t	H
t
HtHtHtHt ^RIHtHt ^RIHt ^RIHtHt ^R	IHtHt ^R
IHtHt ^RIHtHt ^RI H!t! ^RI"H#t# RR.t$ ! R R]4      t% ! R R]4      t& ! R R4      t' ! R R4      t( ! R R4      t) ! R R4      t*R# )    )annotations)LiteralN)_legacy_response)BodyOmitQueryHeadersNotGivenomit	not_given)path_templatemaybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncCursorPageAsyncCursorPage)AsyncPaginatormake_request_options)message_list_params)ChatCompletionStoreMessageMessagesAsyncMessagesc                  r    ] tR t^tRt]R R l4       t]R R l4       tR]R]R]R	R
RR
RR
R]	/R R llt
RtR
# )r   W
Given a list of messages comprising a conversation, the model will return a response.
c                   V ^8  d   QhRR/# )   returnMessagesWithRawResponse )formats   "/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/openai/resources/chat/completions/messages.py__annotate__Messages.__annotate__   s     - -#: -    c                    \        V 4      # z
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
)r!   selfs   &r$   with_raw_responseMessages.with_raw_response   s     't,,r'   c                   V ^8  d   QhRR/# )r   r    MessagesWithStreamingResponser"   )r#   s   "r$   r%   r&   '   s     3 3)F 3r'   c                    \        V 4      # z
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/openai/openai-python#with_streaming_response
)r/   r*   s   &r$   with_streaming_response Messages.with_streaming_response&   s     -T22r'   afterlimitorderextra_headersNextra_query
extra_bodytimeoutc               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )r   completion_idstrr4   
str | Omitr5   
int | Omitr6   Literal['asc', 'desc'] | Omitr7   Headers | Noner8   Query | Noner9   Body | Noner:   'float | httpx.Timeout | None | NotGivenr    z*SyncCursorPage[ChatCompletionStoreMessage]r"   )r#   s   "r$   r%   r&   /   sd     8
 8
8
 	8

 8
 -8
 &8
 "8
  8
 98
 
48
r'   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        \        ,          \        VVVV\        RVRVRV/\        P                  4      RR/R	7      \        R
7      # a  Get the messages in a stored chat completion.

Only Chat Completions that have
been created with the `store` parameter set to `true` will be returned.

Args:
  after: Identifier for the last message from the previous pagination request.

  limit: Number of messages to retrieve.

  order: Sort order for messages by timestamp. Use `asc` for ascending order or `desc`
      for descending order. Defaults to `asc`.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
z<Expected a non-empty value for `completion_id` but received z*/chat/completions/{completion_id}/messages)r<   r4   r5   r6   bearer_authT)r7   r8   r9   r:   querysecurity)pageoptionsmodel)	
ValueError_get_api_listr   r   r   r   r   r   MessageListParams	r+   r<   r4   r5   r6   r7   r8   r9   r:   s	   &&$$$$$$$r$   listMessages.list/   s    F [\i[lmnn!!FVcd :;(+'%%
 (99 (. -% " 
 	
r'   r"   __name__
__module____qualname____firstlineno____doc__r   r,   r2   r   r   rQ   __static_attributes__r"   r'   r$   r   r      s     - - 3 38
 !	8

 !8
 048
 )-8
 %)8
 #'8
 <E8
 8
r'   c                  r    ] tR t^jtRt]R R l4       t]R R l4       tR]R]R]R	R
RR
RR
R]	/R R llt
RtR
# )r   r   c                   V ^8  d   QhRR/# )r   r    AsyncMessagesWithRawResponser"   )r#   s   "r$   r%   AsyncMessages.__annotate__p   s     2 2#? 2r'   c                    \        V 4      # r)   )r\   r*   s   &r$   r,   AsyncMessages.with_raw_responseo   s     ,D11r'   c                   V ^8  d   QhRR/# )r   r    "AsyncMessagesWithStreamingResponser"   )r#   s   "r$   r%   r]   z   s     8 8)K 8r'   c                    \        V 4      # r1   )ra   r*   s   &r$   r2   %AsyncMessages.with_streaming_responsey   s     2$77r'   r4   r5   r6   r7   Nr8   r9   r:   c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )r   r<   r=   r4   r>   r5   r?   r6   r@   r7   rA   r8   rB   r9   rC   r:   rD   r    zWAsyncPaginator[ChatCompletionStoreMessage, AsyncCursorPage[ChatCompletionStoreMessage]]r"   )r#   s   "r$   r%   r]      se     8
 8
8
 	8

 8
 -8
 &8
 "8
  8
 98
 
a8
r'   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        \        ,          \        VVVV\        RVRVRV/\        P                  4      RR/R	7      \        R
7      # rF   )	rM   rN   r   r   r   r   r   r   rO   rP   s	   &&$$$$$$$r$   rQ   AsyncMessages.list   s    F [\i[lmnn!!FVcd !;<(+'%%
 (99 (. -% " 
 	
r'   r"   rS   r"   r'   r$   r   r   j   s     2 2 8 88
 !	8

 !8
 048
 )-8
 %)8
 #'8
 <E8
 8
r'   c                  "    ] tR t^tR R ltRtR# )r!   c                    V ^8  d   QhRRRR/# r   messagesr   r    Noner"   )r#   s   "r$   r%   $MessagesWithRawResponse.__annotate__        
 
 
d 
r'   c                	\    Wn         \        P                  ! VP                  4      V n        R # N)	_messagesr   to_raw_response_wrapperrQ   r+   rj   s   &&r$   __init__ MessagesWithRawResponse.__init__   s     !$<<MM
	r'   rp   rQ   NrT   rU   rV   rW   rs   rY   r"   r'   r$   r!   r!          
 
r'   r!   c                  "    ] tR t^tR R ltRtR# )r\   c                    V ^8  d   QhRRRR/# r   rj   r   r    rk   r"   )r#   s   "r$   r%   )AsyncMessagesWithRawResponse.__annotate__        
 
 
4 
r'   c                	\    Wn         \        P                  ! VP                  4      V n        R # ro   )rp   r   async_to_raw_response_wrapperrQ   rr   s   &&r$   rs   %AsyncMessagesWithRawResponse.__init__   s     !$BBMM
	r'   ru   Nrv   r"   r'   r$   r\   r\      rw   r'   r\   c                  "    ] tR t^tR R ltRtR# )r/   c                    V ^8  d   QhRRRR/# ri   r"   )r#   s   "r$   r%   *MessagesWithStreamingResponse.__annotate__   rm   r'   c                	F    Wn         \        VP                  4      V n        R # ro   )rp   r   rQ   rr   s   &&r$   rs   &MessagesWithStreamingResponse.__init__   s    !0MM
	r'   ru   Nrv   r"   r'   r$   r/   r/      rw   r'   r/   c                  "    ] tR t^tR R ltRtR# )ra   c                    V ^8  d   QhRRRR/# rz   r"   )r#   s   "r$   r%   /AsyncMessagesWithStreamingResponse.__annotate__   r|   r'   c                	F    Wn         \        VP                  4      V n        R # ro   )rp   r   rQ   rr   s   &&r$   rs   +AsyncMessagesWithStreamingResponse.__init__   s    !6MM
	r'   ru   Nrv   r"   r'   r$   ra   ra      rw   r'   ra   )+
__future__r   typing_extensionsr   httpx r   _typesr   r   r   r	   r
   r   r   _utilsr   r   _compatr   	_resourcer   r   	_responser   r   
paginationr   r   _base_clientr   r   types.chat.completionsr   (types.chat.chat_completion_store_messager   __all__r   r   r!   r\   r/   ra   r"   r'   r$   <module>r      s    # %  ! L L L 5 ' ; Z : A : S
'P
 P
fP
$ P
f
 

 

 

 
r'   