o
    ưi                     @   s8   d dl mZ d dlZd dlmZ dZG dd deZdS )    )OptionalN)BaseLLMExceptionzhttps://api.bytez.com/models/v2c                       s4   e Zd Z	ddededeej f fddZ  Z	S )
BytezErrorNstatus_codemessageheadersc                    sD   || _ || _tjdtd| _tj|| jd| _t j	|||d d S )NPOST)methodurl)r   request)r   r   r   )
r   r   httpxRequestAPI_BASEr   Responseresponsesuper__init__)selfr   r   r   	__class__ V/home/app/Keep/.python/lib/python3.10/site-packages/litellm/llms/bytez/common_utils.pyr      s   
zBytezError.__init__)N)
__name__
__module____qualname__intstrr   r   ZHeadersr   __classcell__r   r   r   r   r   
   s    r   )typingr   r   Z)litellm.llms.base_llm.chat.transformationr   r   r   r   r   r   r   <module>   s
    