Ë
    $Æ%h›  ã                  óÐ   — U d dl mZ d dlmZmZ d dlmZ ddlmZ ddl	m
Z
 dZ G d„ d	e
«      Z G d
„ dee   «      Zg d¢Zerg Zded<   neZ e«       ZeD ]  Z ee¬«      ee<   Œ y)é    )Ú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                  ó    ‡ — e Zd Zdˆ fd„Zˆ xZS )ÚAPIRemovedInV1c               óL   •— t         ‰| �  t        j                  |¬«      «       y ©N©Úsymbol)ÚsuperÚ__init__ÚINSTRUCTIONSÚformat©Úselfr   Ú	__class__s     €úQ/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/openai/lib/_old_api.pyr   zAPIRemovedInV1.__init__   s   ø€ Ü‰Ñœ×,Ñ,°FÐ,Ó;Õ<ó    ©r   ÚstrÚreturnÚNone)Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__©r   s   @r   r   r      s   ø„ ÷=ñ =r   r   c                  ó:   ‡ — e Zd Zdˆ fd„Zedd„«       Zdd„Zˆ xZS )ÚAPIRemovedInV1Proxyc               ó0   •— t         ‰| �  «        || _        y ©N)r   r   Ú_symbolr   s     €r   r   zAPIRemovedInV1Proxy.__init__   s   ø€ Ü‰ÑÔØˆ�r   c                ó   — | S r%   © )r   s    r   Ú__load__zAPIRemovedInV1Proxy.__load__   s	   € ð
 ˆr   c                ó.   — t        | j                  ¬«      ‚r   )r   r&   )r   Ú_argsÚ_kwargss      r   Ú__call__zAPIRemovedInV1Proxy.__call__&   s   € Ü D§L¡LÔ1Ð1r   r   )r   r   )r+   r   r,   r   r   r   )r   r   r   r   r   r)   r-   r    r!   s   @r   r#   r#      s!   ø„ õð òó ð÷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#   ÚSYMBOLSr=   Ú__annotations__ÚlocalsÚ__localsr   r(   r   r   ú<module>rG      sy   ðÞ "ç %Ý &å Ý %ð	€ô=�[ô =ô
2˜) C™.ô 2ò €ñ, Ø€GˆYÔà€Gñ ‹8€Øò :€FÙ*°&Ô9€HˆVÒñ:r   