Files
lijiaoqiao/llm-gateway-competitors/litellm-wheel-src/litellm/llms/oci/common_utils.py
2026-03-26 16:04:46 +08:00

20 lines
417 B
Python

from typing import Optional
import httpx
from litellm.llms.base_llm.chat.transformation import BaseLLMException
class OCIError(BaseLLMException):
def __init__(
self,
status_code: int,
message: str,
headers: Optional[httpx.Headers] = None,
):
super().__init__(
status_code=status_code,
message=message,
headers=headers,
)