diff options
author | abc <98614666+xtekky@users.noreply.github.com> | 2023-10-02 12:31:28 +0200 |
---|---|---|
committer | abc <98614666+xtekky@users.noreply.github.com> | 2023-10-02 12:31:28 +0200 |
commit | a4da030d67bc1bd0affd1cd094291bb398126f36 (patch) | |
tree | 9805c603d81a0601a9d405c8014158687ee1a806 | |
parent | ~ | quick fix (diff) | |
download | gpt4free-a4da030d67bc1bd0affd1cd094291bb398126f36.tar gpt4free-a4da030d67bc1bd0affd1cd094291bb398126f36.tar.gz gpt4free-a4da030d67bc1bd0affd1cd094291bb398126f36.tar.bz2 gpt4free-a4da030d67bc1bd0affd1cd094291bb398126f36.tar.lz gpt4free-a4da030d67bc1bd0affd1cd094291bb398126f36.tar.xz gpt4free-a4da030d67bc1bd0affd1cd094291bb398126f36.tar.zst gpt4free-a4da030d67bc1bd0affd1cd094291bb398126f36.zip |
Diffstat (limited to '')
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | g4f/__init__.py | 2 | ||||
-rw-r--r-- | g4f/requests.py | 3 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 5 insertions, 4 deletions
@@ -4,7 +4,7 @@ By using this repository or any code related to it, you agree to the [legal noti ### New - official website: *https://g4f.ai* -- latest pypi version: ([0.1.4.3](https://pypi.org/project/g4f/0.1.4.3)): +- latest pypi version: ([0.1.4.4](https://pypi.org/project/g4f/0.1.4.4)): ```sh pip install -U g4f ``` diff --git a/g4f/__init__.py b/g4f/__init__.py index 6f6fd416..01481f16 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -5,7 +5,7 @@ from .typing import Any, CreateResult, Union from requests import get logging = False -version = '0.1.4.3' +version = '0.1.4.4' def check_pypi_version(): try: diff --git a/g4f/requests.py b/g4f/requests.py index 4146341e..5dd2f56e 100644 --- a/g4f/requests.py +++ b/g4f/requests.py @@ -97,7 +97,8 @@ class StreamRequest: self.enter.set_result(None) self.queue.put_nowait(None) - self.loop.call_soon(self.session.release_curl, self.curl) + #self.loop.call_soon(self.session.rel, self.curl) + return async def fetch(self) -> StreamResponse: if self.handle: @@ -14,7 +14,7 @@ with open("requirements.txt") as f: with open("interference/requirements.txt") as f: api_required = f.read().splitlines() -VERSION = '0.1.4.3' +VERSION = '0.1.4.4' DESCRIPTION = ( "The official gpt4free repository | various collection of powerful language models" ) |