summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-06 20:31:13 +0200
committerGitHub <noreply@github.com>2024-04-06 20:31:13 +0200
commit366969f501b56b366a71e80f668abbebdaecac4f (patch)
tree5126cbbaaf601a97625a167ff0e95ef770036508 /g4f
parentUpdate typing.py (diff)
downloadgpt4free-366969f501b56b366a71e80f668abbebdaecac4f.tar
gpt4free-366969f501b56b366a71e80f668abbebdaecac4f.tar.gz
gpt4free-366969f501b56b366a71e80f668abbebdaecac4f.tar.bz2
gpt4free-366969f501b56b366a71e80f668abbebdaecac4f.tar.lz
gpt4free-366969f501b56b366a71e80f668abbebdaecac4f.tar.xz
gpt4free-366969f501b56b366a71e80f668abbebdaecac4f.tar.zst
gpt4free-366969f501b56b366a71e80f668abbebdaecac4f.zip
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]]