Ë
    ,Œ:jª  ã                  óÌ   — U d dl mZ d dl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d   «      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)Ú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     €úU/var/www/html/tokenscope/api/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                  ó2   ‡ — e Zd Zdˆ fd„Zedd„«       Zˆ xZS )ÚAPIRemovedInV1Proxyc               ó0   •— t         ‰| �  «        || _        y )N)r   r   Ú_symbolr   s     €r   r   zAPIRemovedInV1Proxy.__init__   s   ø€ Ü‰ÑÔØˆ�r   c                ó.   — t        | j                  ¬«      ‚r   )r
   r$   )r   s    r   Ú__load__zAPIRemovedInV1Proxy.__load__   s   € ä D§L¡LÔ1Ð1r   r   )r   r   )r   r   r   r   r   r&   r   r    s   @r   r"   r"      s   ø„ õð ò2ó ô2r   r"   N)ÚEditÚFileÚAudioÚImageÚModelÚEngineÚCustomerÚFineTuneÚ	EmbeddingÚ
CompletionÚ
DeploymentÚ
ModerationÚErrorObjectÚFineTuningJobÚChatCompletionz	list[str]Ú__all__r   )Ú
__future__r   Útypingr   Útyping_extensionsr   Ú_utilsr   Ú_exceptionsr   r   r
   r"   ÚSYMBOLSr6   Ú__annotations__ÚlocalsÚ__localsr   © r   r   ú<module>rA      sy   ðÞ "å  Ý &å Ý %ð	€ô=�[ô =ô
2˜) D™/ô 2ò€ñ, Ø€GˆYÔà€Gñ ‹8€Øò :€FÙ*°&Ô9€HˆVÒñ:r   