summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-07 00:10:32 +0200
committerGitHub <noreply@github.com>2024-04-07 00:10:32 +0200
commit1baca306c4fa0da82383e2c626c6192de8ff83e3 (patch)
tree49e80e0a448ee4d631b355d2dc85b8e584de14a4 /g4f
parentUpdate Llama2.py (diff)
downloadgpt4free-1baca306c4fa0da82383e2c626c6192de8ff83e3.tar
gpt4free-1baca306c4fa0da82383e2c626c6192de8ff83e3.tar.gz
gpt4free-1baca306c4fa0da82383e2c626c6192de8ff83e3.tar.bz2
gpt4free-1baca306c4fa0da82383e2c626c6192de8ff83e3.tar.lz
gpt4free-1baca306c4fa0da82383e2c626c6192de8ff83e3.tar.xz
gpt4free-1baca306c4fa0da82383e2c626c6192de8ff83e3.tar.zst
gpt4free-1baca306c4fa0da82383e2c626c6192de8ff83e3.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Vercel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Vercel.py b/g4f/Provider/Vercel.py
index 26fc5211..4d38439f 100644
--- a/g4f/Provider/Vercel.py
+++ b/g4f/Provider/Vercel.py
@@ -64,7 +64,7 @@ class Vercel(AbstractProvider):
continue
for token in response.iter_content(chunk_size=None):
try:
- yield token.decode()
+ yield token.decode(errors="ignore")
except UnicodeDecodeError:
pass
break