g4f 6.9.10__py3-none-any.whl → 7.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- g4f/errors.py +1 -1
- g4f/providers/asyncio.py +2 -2
- {g4f-6.9.10.dist-info → g4f-7.0.0.dist-info}/METADATA +2 -2
- {g4f-6.9.10.dist-info → g4f-7.0.0.dist-info}/RECORD +8 -8
- {g4f-6.9.10.dist-info → g4f-7.0.0.dist-info}/WHEEL +0 -0
- {g4f-6.9.10.dist-info → g4f-7.0.0.dist-info}/entry_points.txt +0 -0
- {g4f-6.9.10.dist-info → g4f-7.0.0.dist-info}/licenses/LICENSE +0 -0
- {g4f-6.9.10.dist-info → g4f-7.0.0.dist-info}/top_level.txt +0 -0
g4f/errors.py
CHANGED
g4f/providers/asyncio.py
CHANGED
|
@@ -7,7 +7,7 @@ from typing import Optional, Callable, AsyncIterator, Iterator
|
|
|
7
7
|
from ..errors import NestAsyncioError
|
|
8
8
|
|
|
9
9
|
try:
|
|
10
|
-
import nest_asyncio
|
|
10
|
+
import nest_asyncio2 as nest_asyncio
|
|
11
11
|
has_nest_asyncio = True
|
|
12
12
|
except ImportError:
|
|
13
13
|
has_nest_asyncio = False
|
|
@@ -28,7 +28,7 @@ def get_running_loop(check_nested: bool) -> Optional[AbstractEventLoop]:
|
|
|
28
28
|
if has_nest_asyncio:
|
|
29
29
|
nest_asyncio.apply(loop)
|
|
30
30
|
elif check_nested:
|
|
31
|
-
raise NestAsyncioError('Install "
|
|
31
|
+
raise NestAsyncioError('Install "nest-asyncio2" package | pip install -U nest-asyncio2')
|
|
32
32
|
return loop
|
|
33
33
|
except RuntimeError:
|
|
34
34
|
pass
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: g4f
|
|
3
|
-
Version:
|
|
3
|
+
Version: 7.0.0
|
|
4
4
|
Summary: The official gpt4free repository | various collection of powerful language models
|
|
5
5
|
Home-page: https://github.com/xtekky/gpt4free
|
|
6
6
|
Author: Tekky
|
|
@@ -20,7 +20,7 @@ Requires-Dist: requests
|
|
|
20
20
|
Requires-Dist: aiohttp
|
|
21
21
|
Requires-Dist: brotli
|
|
22
22
|
Requires-Dist: pycryptodome
|
|
23
|
-
Requires-Dist:
|
|
23
|
+
Requires-Dist: nest-asyncio2
|
|
24
24
|
Provides-Extra: all
|
|
25
25
|
Requires-Dist: curl_cffi>=0.6.2; extra == "all"
|
|
26
26
|
Requires-Dist: certifi; extra == "all"
|
|
@@ -3,7 +3,7 @@ g4f/__main__.py,sha256=HHFLPRNjEHse-6-i_58Y9AKtEtzGJtxsZPXhymCmIJg,63
|
|
|
3
3
|
g4f/config.py,sha256=qnhX4a2J17CLkooHoMg8mETM8SjoeqJ-Lu1WiRVzIB0,1160
|
|
4
4
|
g4f/cookies.py,sha256=gx68OX5he2bYvsvvIQEESMUfwnVI18DOMJt9KvQrM8g,7915
|
|
5
5
|
g4f/debug.py,sha256=Dh0cmlxUydMDfjJBiPWrO9dAuvv2sTElb3R036ax-34,1021
|
|
6
|
-
g4f/errors.py,sha256=
|
|
6
|
+
g4f/errors.py,sha256=FCD6ZkTdfxB4nBjubg7Y8cStGJ5PsYJoVwyUiHL46Z8,2369
|
|
7
7
|
g4f/files.py,sha256=JzlWe3V6Xc7FN4eag7Utc4P9dHN1s1sMKFvYSaM0NQg,907
|
|
8
8
|
g4f/models.py,sha256=QZV4UAis0QYaWGVO4Nv6n_3wMrLQvWHJ9V11Lo1EmBQ,24927
|
|
9
9
|
g4f/typing.py,sha256=fBBb74HkxtLa358vjcd1U5yr3ThlKzP2DfE8wdx01lA,2388
|
|
@@ -188,7 +188,7 @@ g4f/mcp/tools.py,sha256=G09YfVemVsPbkMLIr5iiE0jHvIUj2Of8Rc02dUaHzzU,15309
|
|
|
188
188
|
g4f/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
189
189
|
g4f/providers/any_model_map.py,sha256=Go7AaJUyvI3NFA5AwjzT7sL8Suk7B0OhtqpzHb512g0,230475
|
|
190
190
|
g4f/providers/any_provider.py,sha256=EnK9VvBGEUGEe66QsDXEaxL7tvrnNea1ZKukbnMX2uc,19250
|
|
191
|
-
g4f/providers/asyncio.py,sha256=
|
|
191
|
+
g4f/providers/asyncio.py,sha256=LTbN0_S8Y5XJXIZcUhivbBpbcYjEOPxdOdEcPBOQTUs,2726
|
|
192
192
|
g4f/providers/base_provider.py,sha256=AEoeJd1gkfhmlJ2AAz3QEh_8jE2xAVOp019ABBAaBIE,20010
|
|
193
193
|
g4f/providers/create_images.py,sha256=yIDZvXUXqnBTQDzpq_NFmJRzxC7RI6VL5UDpN1YKbOU,6607
|
|
194
194
|
g4f/providers/helper.py,sha256=L2k0BoFjNjj5DUlZUo59h6zZP6dKAKKKeBeZYAwCQHo,5603
|
|
@@ -208,9 +208,9 @@ g4f/tools/files.py,sha256=bUTbeNp8ujTZQiW3GLTtFcgl3-1AnH3cDyIKHfh6Mjc,23397
|
|
|
208
208
|
g4f/tools/media.py,sha256=AE9hGVRxQBVZzQ_Ylzeoo2TJUGXSBXO5RbLwj1I2ZTE,4701
|
|
209
209
|
g4f/tools/run_tools.py,sha256=Yb0osWdDt4wUnkvwln4R6qcLapdddC3n2giZMPXWkzM,16662
|
|
210
210
|
g4f/tools/web_search.py,sha256=vAZJD-qy15llsgAbkXzoEltqdFB6TlKLbqDJ1DS-6vs,2086
|
|
211
|
-
g4f-
|
|
212
|
-
g4f-
|
|
213
|
-
g4f-
|
|
214
|
-
g4f-
|
|
215
|
-
g4f-
|
|
216
|
-
g4f-
|
|
211
|
+
g4f-7.0.0.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
212
|
+
g4f-7.0.0.dist-info/METADATA,sha256=LQ7GIFlNobe_iV344kFxuw-wDxECP2yW-hA1u5cLZcQ,23345
|
|
213
|
+
g4f-7.0.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
214
|
+
g4f-7.0.0.dist-info/entry_points.txt,sha256=J7Usl6dNjXJlvuzGAUEm6cuDXWpVdGq7SfK-tPoiZSI,67
|
|
215
|
+
g4f-7.0.0.dist-info/top_level.txt,sha256=bMRlTupWYCcLWy80AnnKZkhpBsXsF8gI3BaMhSZSgRo,4
|
|
216
|
+
g4f-7.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|