From 1baca306c4fa0da82383e2c626c6192de8ff83e3 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Sun, 7 Apr 2024 00:10:32 +0200 Subject: Update Vercel.py --- g4f/Provider/Vercel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/Vercel.py') 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 -- cgit v1.2.3