Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /BerriAI_litellm /litellm /llms /bytez /common_utils.py
| from typing import Final | |
| import httpx | |
| from litellm.llms.base_llm.chat.transformation import BaseLLMException | |
| API_BASE: Final = "https://api.bytez.com/models/v2" | |
| class BytezError(BaseLLMException): | |
| def __init__( | |
| self, | |
| status_code: int, | |
| message: str, | |
| headers: httpx.Headers | None = None, | |
| ): | |
| self.status_code = status_code | |
| self.message = message | |
| self.request = httpx.Request(method="POST", url=API_BASE) | |
| self.response = httpx.Response(status_code=status_code, request=self.request) | |
| super().__init__( | |
| status_code=status_code, | |
| message=message, | |
| headers=headers, | |
| ) | |
Xet Storage Details
- Size:
- 688 Bytes
- Xet hash:
- 538531875ac7cf6f5248e26bfce3c184fb899d3a4f25365c0fcac290dce029f5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.