HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/openai/cli/__pycache__/_utils.cpython-310.pyc
o

���gP�@s~ddlmZddlZddlZddlmZmZddlmZddl	m
Z
Gdd�d�Zddd�Zddd�Z
ddd�Zddd�ZdS)�)�annotationsN�)�OpenAI�_load_client)�
model_json)�	BaseModelc@s,eZdZdZdZdZdZdZdZdZ	dZ
d	S)
�ColorszzzzzzzzN)�__name__�
__module__�__qualname__�HEADER�OKBLUE�OKGREEN�WARNING�FAIL�ENDC�BOLD�	UNDERLINE�rr�</usr/local/lib/python3.10/dist-packages/openai/cli/_utils.pyrsr�returnrcCst�S)N)rrrrr�
get_clientsr�strcCstj}|durd�|�SdS)Nz[organization={}] �)�openai�organization�format)rrrr�organization_infos
r�modelr�NonecCstj�t|dd�d�dS)Nr)�indent�
)�sys�stdout�writer)rrrr�print_model#sr%�boolcCs$zddl}WdStyYdSw)NrFT)�h2�ImportError)r'rrr�
can_use_http2's
��r))rr)rr)rrrr)rr&)�
__future__rr"rrrr�_compatr�_modelsrrrrr%r)rrrr�<module>s