From 5fcf9434f49d224b4264a88eb7162f557f566e71 Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Mon, 2 Oct 2023 12:27:33 +0200 Subject: ~ | quick fix --- g4f/requests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g4f') diff --git a/g4f/requests.py b/g4f/requests.py index 78acb9de..4146341e 100644 --- a/g4f/requests.py +++ b/g4f/requests.py @@ -145,7 +145,8 @@ class StreamRequest: return await self.fetch() async def __aexit__(self, *args): - self.session.release_curl(self.curl) + return + #self.session.release_curl(self.curl) class StreamSession(AsyncSession): def request( -- cgit v1.2.3