mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 10:40:43 -08:00
Create types.py
This commit is contained in:
parent
22b7628b6c
commit
366969f501
1 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue