mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-10 19:11:01 +00:00
c617b18d12
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
26 lines
449 B
Python
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 |