This commit is contained in:
Vedant Patel 2026-09-23 14:49:49 +00:00 • committed by GitHub
commit 87102f83ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ from litellm.llms.base_llm.chat.transformation import BaseLLMException
class InfinityError(BaseLLMException):
def __init__(self, status_code: int, message: str, headers: dict | httpx.Headers = {}):
def __init__(self, status_code: int, message: str, headers: dict | httpx.Headers | None = None):
self.status_code = status_code
self.message = message
self.request = httpx.Request(method="POST", url="https://github.com/michaelfeil/infinity")