Files
gpt4free/g4f/errors.py
hlohaus fd97cceab0 Restore AsyncClient streaming return type
Improve error handling in DDG
use OpenaiAPI provider in DeepInfraChat
Support api_base and response_type parameters in API
2025-01-24 04:56:26 +01:00

56 lines
1.0 KiB
Python

class ProviderNotFoundError(Exception):
...
class ProviderNotWorkingError(Exception):
...
class StreamNotSupportedError(Exception):
...
class ModelNotFoundError(Exception):
...
class ModelNotAllowedError(Exception):
...
class RetryProviderError(Exception):
...
class RetryNoProviderError(Exception):
...
class VersionNotFoundError(Exception):
...
class ModelNotSupportedError(Exception):
...
class MissingRequirementsError(Exception):
...
class NestAsyncioError(MissingRequirementsError):
...
class MissingAuthError(Exception):
...
class NoImageResponseError(Exception):
...
class ResponseError(Exception):
...
class ResponseStatusError(Exception):
...
class RateLimitError(ResponseStatusError):
...
class NoValidHarFileError(Exception):
...
class TimeoutError(Exception):
"""Raised for timeout errors during API requests."""
class ConversationLimitError(Exception):
"""Raised for conversation limit during API requests to AI endpoint."""