summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/client/types.py5
1 files changed, 5 insertions, 0 deletions
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]]