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/typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/typing.py') diff --git a/g4f/typing.py b/g4f/typing.py index cfddf4a8..c93a4bcf 100644 --- a/g4f/typing.py +++ b/g4f/typing.py @@ -1,5 +1,5 @@ import sys -from typing import Any, AsyncGenerator, Generator, NewType, Tuple, Union, List, Dict +from typing import Any, AsyncGenerator, Generator, NewType, Tuple, Union, List, Dict, Type if sys.version_info >= (3, 8): from typing import TypedDict -- cgit v1.2.3