summaryrefslogtreecommitdiffstats
path: root/g4f/requests.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-10-02 12:31:28 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-10-02 12:31:28 +0200
commita4da030d67bc1bd0affd1cd094291bb398126f36 (patch)
tree9805c603d81a0601a9d405c8014158687ee1a806 /g4f/requests.py
parent~ | quick fix (diff)
downloadgpt4free-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 'g4f/requests.py')
-rw-r--r--g4f/requests.py3
1 files changed, 2 insertions, 1 deletions
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: