summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-09-27 19:55:58 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-09-27 19:55:58 +0200
commit32d55364507fd575b467d0458729b05635530e27 (patch)
treebf376dfc9f02f54a707c33cb813348e9c350ea37
parent~ | g4f v-0.1.3.8 (diff)
downloadgpt4free-32d55364507fd575b467d0458729b05635530e27.tar
gpt4free-32d55364507fd575b467d0458729b05635530e27.tar.gz
gpt4free-32d55364507fd575b467d0458729b05635530e27.tar.bz2
gpt4free-32d55364507fd575b467d0458729b05635530e27.tar.lz
gpt4free-32d55364507fd575b467d0458729b05635530e27.tar.xz
gpt4free-32d55364507fd575b467d0458729b05635530e27.tar.zst
gpt4free-32d55364507fd575b467d0458729b05635530e27.zip
-rw-r--r--README.md2
-rw-r--r--g4f/__init__.py2
-rw-r--r--g4f/requests.py4
-rw-r--r--setup.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 2f374409..8247c2f0 100644
--- a/README.md
+++ b/README.md
@@ -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.3.8](https://pypi.org/project/g4f/0.1.3.8)):
+- latest pypi version: ([0.1.3.9](https://pypi.org/project/g4f/0.1.3.9)):
```sh
pip install -U g4f
diff --git a/g4f/__init__.py b/g4f/__init__.py
index ba69f4b6..6fe7aa10 100644
--- a/g4f/__init__.py
+++ b/g4f/__init__.py
@@ -4,7 +4,7 @@ from .Provider import BaseProvider, AsyncProvider
from .typing import Any, CreateResult, Union
logging = False
-version = '0.1.3.8'
+version = '0.1.3.9'
def get_model_and_provider(model: Union[models.Model, str], provider: type[BaseProvider], stream: bool):
if isinstance(model, str):
diff --git a/g4f/requests.py b/g4f/requests.py
index e6fd1b0a..736442e3 100644
--- a/g4f/requests.py
+++ b/g4f/requests.py
@@ -7,11 +7,11 @@ from aiohttp import StreamReader
from aiohttp.base_protocol import BaseProtocol
from curl_cffi.requests import AsyncSession as BaseSession
-from curl_cffi.requests import Request, Response
+from curl_cffi.requests import Response
class StreamResponse:
- def __init__(self, inner: Response, content: StreamReader, request: Request):
+ def __init__(self, inner: Response, content: StreamReader, request):
self.inner = inner
self.content = content
self.request = request
diff --git a/setup.py b/setup.py
index 7baa0cc0..43e9ac03 100644
--- a/setup.py
+++ b/setup.py
@@ -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.3.8'
+VERSION = '0.1.3.9'
DESCRIPTION = (
"The official gpt4free repository | various collection of powerful language models"
)