gpt4free/g4f/client/types.py

6 lines
231 B
Python
Raw Normal View History

2024-04-06 18:31:13 +00:00
from ..providers.types import BaseProvider, ProviderType
from typing import Union, Iterator
ImageProvider = Union[BaseProvider, object]
Proxies = Union[dict, str]
IterResponse = Iterator[Union[ChatCompletion, ChatCompletionChunk]]