summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-06 20:20:23 +0200
committerGitHub <noreply@github.com>2024-04-06 20:20:23 +0200
commit8bbc10122595db4322baab94049c83c091515828 (patch)
tree61cae2c1bad5f8b29eadd99aca1d835b702fc5c4 /g4f
parentUpdate client (diff)
downloadgpt4free-8bbc10122595db4322baab94049c83c091515828.tar
gpt4free-8bbc10122595db4322baab94049c83c091515828.tar.gz
gpt4free-8bbc10122595db4322baab94049c83c091515828.tar.bz2
gpt4free-8bbc10122595db4322baab94049c83c091515828.tar.lz
gpt4free-8bbc10122595db4322baab94049c83c091515828.tar.xz
gpt4free-8bbc10122595db4322baab94049c83c091515828.tar.zst
gpt4free-8bbc10122595db4322baab94049c83c091515828.zip
Diffstat (limited to 'g4f')
-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