
    2h                        % S SK Jr  S SKJrJr  S SKJr  SSKJr  SSK	J
r
  Sr " S S	\
5      r " S
 S\\   5      r/ SQr\(       a  / rS\S'   O\r\" 5       r\ H  r\" \S9\\'   M     g)    )annotations)TYPE_CHECKINGAny)override   )	LazyProxy)OpenAIErrora  

You tried to access openai.{symbol}, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface. 

Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`

A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
c                  ,   ^  \ rS rSrSU 4S jjrSrU =r$ )APIRemovedInV1   c               F   > [         TU ]  [        R                  US95        g Nsymbol)super__init__INSTRUCTIONSformatselfr   	__class__s     K/var/www/auris/envauris/lib/python3.13/site-packages/openai/lib/_old_api.pyr   APIRemovedInV1.__init__   s    ,,F,;<     r   strreturnNone)__name__
__module____qualname____firstlineno__r   __static_attributes____classcell__r   s   @r   r   r      s    = =r   r   c                  J   ^  \ rS rSrSU 4S jjr\SS j5       rSS jrSrU =r	$ )	APIRemovedInV1Proxy   c               .   > [         TU ]  5         Xl        g N)r   r   _symbolr   s     r   r   APIRemovedInV1Proxy.__init__   s    r   c                    U $ r+   r   )r   s    r   __load__APIRemovedInV1Proxy.__load__   s	    
 r   c                (    [        U R                  S9er   )r   r,   )r   _args_kwargss      r   __call__APIRemovedInV1Proxy.__call__&   s    DLL11r   )r,   r   )r   r   )r2   r   r3   r   r   r   )
r    r!   r"   r#   r   r   r/   r4   r$   r%   r&   s   @r   r(   r(      s&      2 2r   r(   )EditFileAudioImageModelEngineCustomerFineTune	Embedding
Completion
Deployment
ModerationErrorObjectFineTuningJobChatCompletionz	list[str]__all__r   N)
__future__r   typingr   r   typing_extensionsr   _utilsr   _exceptionsr	   r   r   r(   SYMBOLSrE   __annotations__locals__localsr   r   r   r   <module>rO      st    " % &  %	=[ =
2)C. 2 , GYG 8F*&9HV r   