summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-09-23 12:33:44 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-09-23 12:33:44 +0200
commitbf78b4d033fd360bf42d22589a3cd670d0e06323 (patch)
treeb8932325b8d7d1857dbb524e862387c168558bb4
parent~ (diff)
downloadgpt4free-bf78b4d033fd360bf42d22589a3cd670d0e06323.tar
gpt4free-bf78b4d033fd360bf42d22589a3cd670d0e06323.tar.gz
gpt4free-bf78b4d033fd360bf42d22589a3cd670d0e06323.tar.bz2
gpt4free-bf78b4d033fd360bf42d22589a3cd670d0e06323.tar.lz
gpt4free-bf78b4d033fd360bf42d22589a3cd670d0e06323.tar.xz
gpt4free-bf78b4d033fd360bf42d22589a3cd670d0e06323.tar.zst
gpt4free-bf78b4d033fd360bf42d22589a3cd670d0e06323.zip
-rw-r--r--g4f/Provider/Aivvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Aivvm.py b/g4f/Provider/Aivvm.py
index f7f74f50..97c9dff0 100644
--- a/g4f/Provider/Aivvm.py
+++ b/g4f/Provider/Aivvm.py
@@ -56,7 +56,7 @@ class Aivvm(BaseProvider):
"https://chat.aivvm.com/api/chat", headers=headers, json=json_data, stream=True)
for line in response.iter_content(chunk_size=1048):
- yield line
+ yield line.decode('utf-8')
@classmethod
@property