summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g4f/client/typing.py4
1 files changed, 4 insertions, 0 deletions
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