From c617b18d12c2f9d82ce7c73aae46d353b83f625a Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Mon, 1 Jan 2024 17:48:57 +0100 Subject: 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 --- g4f/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/errors.py') diff --git a/g4f/errors.py b/g4f/errors.py index b554aead..b874435a 100644 --- a/g4f/errors.py +++ b/g4f/errors.py @@ -13,7 +13,7 @@ class AuthenticationRequiredError(Exception): class ModelNotFoundError(Exception): pass -class ModelNotAllowed(Exception): +class ModelNotAllowedError(Exception): pass class RetryProviderError(Exception): -- cgit v1.2.3