mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-27 05:04:19 +03:00
Create types.py
This commit is contained in:
parent
22b7628b6c
commit
366969f501
5
g4f/client/types.py
Normal file
5
g4f/client/types.py
Normal file
@ -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]]
|
Loading…
Reference in New Issue
Block a user