From 8bbc10122595db4322baab94049c83c091515828 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Sat, 6 Apr 2024 20:20:23 +0200 Subject: Update client --- g4f/client/typing.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 g4f/client/typing.py diff --git a/g4f/client/typing.py b/g4f/client/typing.py new file mode 100644 index 00000000..6e328a6d --- /dev/null +++ b/g4f/client/typing.py @@ -0,0 +1,4 @@ +from typing import Union, Iterator +ImageProvider = Union[BaseProvider, object] +Proxies = Union[dict, str] +IterResponse = Iterator[Union[ChatCompletion, ChatCompletionChunk]] \ No newline at end of file -- cgit v1.2.3