XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

~ | g4f v-0.1.4.4

release_curl bug

a4da030d
abc <98614666+xtekky@users.noreply.github.com>
提交于

代码差异

4 个文件 +5 -4
Modified README.md +1 -1
@@ -4,7 +4,7 @@ By using this repository or any code related to it, you agree to the [legal noti
4 4
5 5 ### New
6 6 - official website: *https://g4f.ai*
7 - latest pypi version: ([0.1.4.3](https://pypi.org/project/g4f/0.1.4.3)):
7 - latest pypi version: ([0.1.4.4](https://pypi.org/project/g4f/0.1.4.4)):
8 8 ```sh
9 9 pip install -U g4f
10 10 ```
Modified g4f/__init__.py +1 -1
@@ -5,7 +5,7 @@ from .typing import Any, CreateResult, Union
5 5 from requests import get
6 6
7 7 logging = False
8 version = '0.1.4.3'
8 version = '0.1.4.4'
9 9
10 10 def check_pypi_version():
11 11 try:
Modified g4f/requests.py +2 -1
@@ -97,7 +97,8 @@ class StreamRequest:
97 97 self.enter.set_result(None)
98 98 self.queue.put_nowait(None)
99 99
100 self.loop.call_soon(self.session.release_curl, self.curl)
100 #self.loop.call_soon(self.session.rel, self.curl)
101 return
101 102
102 103 async def fetch(self) -> StreamResponse:
103 104 if self.handle:
Modified setup.py +1 -1
@@ -14,7 +14,7 @@ with open("requirements.txt") as f:
14 14 with open("interference/requirements.txt") as f:
15 15 api_required = f.read().splitlines()
16 16
17 VERSION = '0.1.4.3'
17 VERSION = '0.1.4.4'
18 18 DESCRIPTION = (
19 19 "The official gpt4free repository | various collection of powerful language models"
20 20 )