summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxKUlish1 <93388714+MaxKUlish1@users.noreply.github.com>2023-08-17 23:03:52 +0200
committerGitHub <noreply@github.com>2023-08-17 23:03:52 +0200
commit030b3e37816ebe2ba0b5b2ef19c380d97acb66fa (patch)
tree35062f8df54e487c8657edbf75e6c88e82ff736e
parentUpdate Yqcloud.py (diff)
parentUpdate Yqcloud.py (diff)
downloadgpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar
gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.gz
gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.bz2
gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.lz
gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.xz
gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.tar.zst
gpt4free-030b3e37816ebe2ba0b5b2ef19c380d97acb66fa.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Yqcloud.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/Provider/Yqcloud.py b/g4f/Provider/Yqcloud.py
index 3709e53d..a3147c2d 100644
--- a/g4f/Provider/Yqcloud.py
+++ b/g4f/Provider/Yqcloud.py
@@ -22,6 +22,7 @@ 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