+
    Ui,                    6   ^ RI Ht ^ RIt^RIHt ^RIHtHtHtH	t	H
t
 ^RI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 ^RIHt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# )    )annotationsN)_legacy_response)BodyQueryHeadersNotGiven	not_given)path_template)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncPage	AsyncPage)Model)AsyncPaginatormake_request_options)ModelDeletedModelsAsyncModelsc                      ] 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 llt	RRRRR	RR
]/R R llt
RRRRR	RR
]/R R lltRtR# )r   :List and describe the various models available in the API.c                   V ^8  d   QhRR/# )   returnModelsWithRawResponse )formats   "V/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/openai/resources/models.py__annotate__Models.__annotate__   s     + +#8 +    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Models.with_raw_response   s     %T**r#   c                   V ^8  d   QhRR/# )r   r   ModelsWithStreamingResponser   )r   s   "r    r!   r"   &   s     1 1)D 1r#   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Models.with_streaming_response%   s     +400r#   extra_headersNextra_query
extra_bodytimeoutc               0    V ^8  d   QhRRRRRRRRR	R
RR/# r   modelstrr0   Headers | Noner1   Query | Noner2   Body | Noner3   'float | httpx.Timeout | None | NotGivenr   r   r   )r   s   "r    r!   r"   .   F      
  
 
 & 
 " 
   
 9 
 
 
r#   c          
         V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      # )h  
Retrieves a model instance, providing basic information about the model such as
the owner and permissioning.

Args:
  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
4Expected a non-empty value for `model` but received /models/{model}r6   r0   r1   r2   r3   optionscast_to
ValueError_getr
   r   r   r'   r6   r0   r1   r2   r3   s   &&$$$$r    retrieveModels.retrieve.   sP    0 STYS\]^^yy+59(+Q[   
 	
r#   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r   r0   r8   r1   r9   r2   r:   r3   r;   r   zSyncPage[Model]r   )r   s   "r    r!   r"   P   s>     
 

 &
 "
  
 9
 

r#   c               h    V P                  R\        \        ,          \        WW4R7      \        R7      # zy
Lists the currently available models, and provides basic information about each
one such as the owner and availability.
z/modelsrB   )pagerD   r6   )_get_api_listr   r   r   r'   r0   r1   r2   r3   s   &$$$$r    listModels.listP   s9     !!%(+Q[  " 
 	
r#   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r   r6   r7   r0   r8   r1   r9   r2   r:   r3   r;   r   r   r   )r   s   "r    r!   r"   g   F     !
 !
!
 &!
 "!
  !
 9!
 
!
r#   c          
         V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      # )[  Delete a fine-tuned model.

You must have the Owner role in your organization to
delete a model.

Args:
  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
r?   r@   rA   rB   rC   rG   _deleter
   r   r   rI   s   &&$$$$r    deleteModels.deleteg   sP    2 STYS\]^^||+59(+Q[ !  
 	
r#   r   __name__
__module____qualname____firstlineno____doc__r   r(   r.   r	   rJ   rR   r[   __static_attributes__r   r#   r    r   r      s    D+ + 1 1 
 )- 
 %) 
 #' 
 <E 
D

 )-
 %)
 #'
 <E
.!
 )-!
 %)!
 #'!
 <E!
 !
r#   c                      ] 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 llt	RRRRR	RR
]/R R llt
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   AsyncModelsWithRawResponser   )r   s   "r    r!   AsyncModels.__annotate__   s     0 0#= 0r#   c                    \        V 4      # r%   )rf   r&   s   &r    r(   AsyncModels.with_raw_response   s     *$//r#   c                   V ^8  d   QhRR/# )r   r    AsyncModelsWithStreamingResponser   )r   s   "r    r!   rg      s     6 6)I 6r#   c                    \        V 4      # r-   )rk   r&   s   &r    r.   #AsyncModels.with_streaming_response   s     055r#   r0   Nr1   r2   r3   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r5   r   )r   s   "r    r!   rg      r<   r#   c          
        "   V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      G Rj  xL
 #  L5i)r>   r?   r@   rA   rB   rC   NrF   rI   s   &&$$$$r    rJ   AsyncModels.retrieve   s]     0 STYS\]^^YY+59(+Q[   
 
 	
 
   A	AAAc          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r   r0   r8   r1   r9   r2   r:   r3   r;   r   z'AsyncPaginator[Model, AsyncPage[Model]]r   )r   s   "r    r!   rg      s>     
 

 &
 "
  
 9
 
1
r#   c               h    V P                  R\        \        ,          \        WW4R7      \        R7      # rN   )rP   r   r   r   rQ   s   &$$$$r    rR   AsyncModels.list   s:     !!5!(+Q[  " 
 	
r#   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# rU   r   )r   s   "r    r!   rg      rV   r#   c          
        "   V'       g   \        RV: 24      hV P                  \        RVR7      \        W#WER7      \        R7      G Rj  xL
 #  L5i)rX   r?   r@   rA   rB   rC   NrY   rI   s   &&$$$$r    r[   AsyncModels.delete   s]     2 STYS\]^^\\+59(+Q[ ! " 
 
 	
 
rq   r   r]   r   r#   r    r   r      s    D0 0 6 6 
 )- 
 %) 
 #' 
 <E 
D

 )-
 %)
 #'
 <E
.!
 )-!
 %)!
 #'!
 <E!
 !
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   modelsr   r   Noner   )r   s   "r    r!   "ModelsWithRawResponse.__annotate__        
 
v 
$ 
r#   c                	    Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        R # N)_modelsr   to_raw_response_wrapperrJ   rR   r[   r'   r{   s   &&r    __init__ModelsWithRawResponse.__init__   sV    (@@OO
 %<<KK
	 '>>MM
r#   r   r[   rR   rJ   Nr^   r_   r`   ra   r   rc   r   r#   r    r   r          
 
r#   r   c                  "    ] tR tRtR R ltRtR# )rf   i  c                    V ^8  d   QhRRRR/# r   r{   r   r   r|   r   )r   s   "r    r!   'AsyncModelsWithRawResponse.__annotate__       
 
{ 
t 
r#   c                	    Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        R # r   )r   r   async_to_raw_response_wrapperrJ   rR   r[   r   s   &&r    r   #AsyncModelsWithRawResponse.__init__  sV    (FFOO
 %BBKK
	 'DDMM
r#   r   Nr   r   r#   r    rf   rf     r   r#   rf   c                  "    ] tR tRtR R ltRtR# )r+   i  c                    V ^8  d   QhRRRR/# rz   r   )r   s   "r    r!   (ModelsWithStreamingResponse.__annotate__  r~   r#   c                	    Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        R # r   )r   r   rJ   rR   r[   r   s   &&r    r   $ModelsWithStreamingResponse.__init__  sD    4OO
 1KK
	 3MM
r#   r   Nr   r   r#   r    r+   r+     r   r#   r+   c                  "    ] tR tRtR R ltRtR# )rk   i+  c                    V ^8  d   QhRRRR/# r   r   )r   s   "r    r!   -AsyncModelsWithStreamingResponse.__annotate__,  r   r#   c                	    Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        R # r   )r   r   rJ   rR   r[   r   s   &&r    r   )AsyncModelsWithStreamingResponse.__init__,  sD    :OO
 7KK
	 9MM
r#   r   Nr   r   r#   r    rk   rk   +  r   r#   rk   )&
__future__r   httpx r   _typesr   r   r   r   r	   _utilsr
   _compatr   	_resourcer   r   	_responser   r   
paginationr   r   types.modelr   _base_clientr   r   types.model_deletedr   __all__r   r   r   rf   r+   rk   r   r#   r    <module>r      s    #   > > " % 9 X ,  /]
#p
_ p
fp
" p
f
 

 

 

 
r#   