gpt4free/g4f/errors.py
Heiner Lohaus c617b18d12 Add support for all models
Add AbstractProvider class
Add ProviderType type
Add get_last_provider function
Add version module and  VersionUtils
Display used provider in gui
Fix error response in api
2024-01-01 17:48:57 +01:00

26 lines
449 B
Python

class ProviderNotFoundError(Exception):
pass
class ProviderNotWorkingError(Exception):
pass
class StreamNotSupportedError(Exception):
pass
class AuthenticationRequiredError(Exception):
pass
class ModelNotFoundError(Exception):
pass
class ModelNotAllowedError(Exception):
pass
class RetryProviderError(Exception):
pass
class RetryNoProviderError(Exception):
pass
class VersionNotFoundError(Exception):
pass