From 366969f501b56b366a71e80f668abbebdaecac4f Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Sat, 6 Apr 2024 20:31:13 +0200 Subject: Create types.py --- g4f/client/types.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 g4f/client/types.py (limited to 'g4f/client') diff --git a/g4f/client/types.py b/g4f/client/types.py new file mode 100644 index 00000000..69b11d05 --- /dev/null +++ b/g4f/client/types.py @@ -0,0 +1,5 @@ +from ..providers.types import BaseProvider, ProviderType +from typing import Union, Iterator +ImageProvider = Union[BaseProvider, object] +Proxies = Union[dict, str] +IterResponse = Iterator[Union[ChatCompletion, ChatCompletionChunk]] -- cgit v1.2.3