diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-04-06 20:31:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 20:31:13 +0200 |
commit | 366969f501b56b366a71e80f668abbebdaecac4f (patch) | |
tree | 5126cbbaaf601a97625a167ff0e95ef770036508 | |
parent | Update typing.py (diff) | |
download | gpt4free-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 |
-rw-r--r-- | g4f/client/types.py | 5 |
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]] |