summaryrefslogtreecommitdiffstats
path: root/g4f/typing.py
diff options
context:
space:
mode:
author碧舞すみほ <kokarare1212@gmail.com>2024-05-17 18:43:17 +0200
committerGitHub <noreply@github.com>2024-05-17 18:43:17 +0200
commit1d66c57a658d0a538c1836c56252aae2db11546d (patch)
tree1211ea782a659e6b94c967d8d0ea196fbbb114f6 /g4f/typing.py
parentMerge pull request #1958 from hlohaus/leech (diff)
downloadgpt4free-1d66c57a658d0a538c1836c56252aae2db11546d.tar
gpt4free-1d66c57a658d0a538c1836c56252aae2db11546d.tar.gz
gpt4free-1d66c57a658d0a538c1836c56252aae2db11546d.tar.bz2
gpt4free-1d66c57a658d0a538c1836c56252aae2db11546d.tar.lz
gpt4free-1d66c57a658d0a538c1836c56252aae2db11546d.tar.xz
gpt4free-1d66c57a658d0a538c1836c56252aae2db11546d.tar.zst
gpt4free-1d66c57a658d0a538c1836c56252aae2db11546d.zip
Diffstat (limited to 'g4f/typing.py')
-rw-r--r--g4f/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/typing.py b/g4f/typing.py
index 5d1bc959..710fde4b 100644
--- a/g4f/typing.py
+++ b/g4f/typing.py
@@ -14,7 +14,7 @@ else:
SHA256 = NewType('sha_256_hash', str)
CreateResult = Iterator[str]
AsyncResult = AsyncIterator[str]
-Messages = List[Dict[str, str]]
+Messages = List[Dict[str, Union[str,List[Dict[str,Union[str,Dict[str,str]]]]]]]
Cookies = Dict[str, str]
ImageType = Union[str, bytes, IO, Image, None]