From 32d55364507fd575b467d0458729b05635530e27 Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Wed, 27 Sep 2023 18:55:58 +0100 Subject: ~ | g4f v-0.1.3.9 --- g4f/__init__.py | 2 +- g4f/requests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '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 -- cgit v1.2.3