From aba4b96f23ef38ca75195b3b78a88bb92035b4a9 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Mon, 12 Feb 2024 11:41:27 +0100 Subject: Add new Client API with Docs Use object urls for the preview of image uploads. Fix upload images in You provider Fix create image. It's now a single image. Improve system message for create images. --- g4f/errors.py | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'g4f/errors.py') diff --git a/g4f/errors.py b/g4f/errors.py index 48171a6e..5e821ded 100644 --- a/g4f/errors.py +++ b/g4f/errors.py @@ -1,35 +1,38 @@ class ProviderNotFoundError(Exception): - pass + ... class ProviderNotWorkingError(Exception): - pass + ... class StreamNotSupportedError(Exception): - pass + ... class ModelNotFoundError(Exception): - pass + ... class ModelNotAllowedError(Exception): - pass + ... class RetryProviderError(Exception): - pass + ... class RetryNoProviderError(Exception): - pass + ... class VersionNotFoundError(Exception): - pass + ... class NestAsyncioError(Exception): - pass + ... class ModelNotSupportedError(Exception): - pass + ... class MissingRequirementsError(Exception): - pass + ... class MissingAuthError(Exception): - pass \ No newline at end of file + ... + +class NoImageResponseError(Exception): + ... \ No newline at end of file -- cgit v1.2.3