summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorMaxKUlish1 <93388714+MaxKUlish1@users.noreply.github.com>2023-08-17 22:54:31 +0200
committerGitHub <noreply@github.com>2023-08-17 22:54:31 +0200
commit5de30dd097d02d3d3a359274aa676efdbfd168cc (patch)
treea386bdfdf0d99c0d0c9e20ba6bba1af72b87006a /g4f
parentUpdate Yqcloud.py (diff)
downloadgpt4free-5de30dd097d02d3d3a359274aa676efdbfd168cc.tar
gpt4free-5de30dd097d02d3d3a359274aa676efdbfd168cc.tar.gz
gpt4free-5de30dd097d02d3d3a359274aa676efdbfd168cc.tar.bz2
gpt4free-5de30dd097d02d3d3a359274aa676efdbfd168cc.tar.lz
gpt4free-5de30dd097d02d3d3a359274aa676efdbfd168cc.tar.xz
gpt4free-5de30dd097d02d3d3a359274aa676efdbfd168cc.tar.zst
gpt4free-5de30dd097d02d3d3a359274aa676efdbfd168cc.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/Yqcloud.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/g4f/Provider/Yqcloud.py b/g4f/Provider/Yqcloud.py
index a3147c2d..3709e53d 100644
--- a/g4f/Provider/Yqcloud.py
+++ b/g4f/Provider/Yqcloud.py
@@ -22,7 +22,6 @@ class Yqcloud(BaseProvider):
url = "https://api.aichatos.cloud/api/generateStream"
response = requests.post(url=url, headers=headers, json=payload)
response.raise_for_status()
- response.encoding = 'utf-8'
yield response.text