summaryrefslogtreecommitdiffstats
path: root/g4f/requests.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-09-27 19:51:33 +0200
committerGitHub <noreply@github.com>2023-09-27 19:51:33 +0200
commita1b5d527f94c81847d260f2021776e2db89b2658 (patch)
treeca437481280dfc6883199fb30fe89aad221a35e6 /g4f/requests.py
parent~ (diff)
parentfixed bug: ImportError: cannot import name 'Request' from 'curl_cffi.requests.cookies' (/Users/yanyuming/opt/anaconda3/envs/chatgpt/lib/python3.11/site-packages/curl_cffi/requests/cookies.py) (diff)
downloadgpt4free-a1b5d527f94c81847d260f2021776e2db89b2658.tar
gpt4free-a1b5d527f94c81847d260f2021776e2db89b2658.tar.gz
gpt4free-a1b5d527f94c81847d260f2021776e2db89b2658.tar.bz2
gpt4free-a1b5d527f94c81847d260f2021776e2db89b2658.tar.lz
gpt4free-a1b5d527f94c81847d260f2021776e2db89b2658.tar.xz
gpt4free-a1b5d527f94c81847d260f2021776e2db89b2658.tar.zst
gpt4free-a1b5d527f94c81847d260f2021776e2db89b2658.zip
Diffstat (limited to 'g4f/requests.py')
-rw-r--r--g4f/requests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/requests.py b/g4f/requests.py
index 51d31e1e..e6fd1b0a 100644
--- a/g4f/requests.py
+++ b/g4f/requests.py
@@ -7,7 +7,7 @@ from aiohttp import StreamReader
from aiohttp.base_protocol import BaseProtocol
from curl_cffi.requests import AsyncSession as BaseSession
-from curl_cffi.requests.cookies import Request, Response
+from curl_cffi.requests import Request, Response
class StreamResponse: