summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Aivvm.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-10-10 16:48:56 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-10-10 16:48:56 +0200
commit8964d15dc36338e994285552e2b49435428ca50b (patch)
tree2f00422465fa11367df09a71c9fa7f19a1383aa2 /g4f/Provider/Aivvm.py
parent~ (diff)
downloadgpt4free-8964d15dc36338e994285552e2b49435428ca50b.tar
gpt4free-8964d15dc36338e994285552e2b49435428ca50b.tar.gz
gpt4free-8964d15dc36338e994285552e2b49435428ca50b.tar.bz2
gpt4free-8964d15dc36338e994285552e2b49435428ca50b.tar.lz
gpt4free-8964d15dc36338e994285552e2b49435428ca50b.tar.xz
gpt4free-8964d15dc36338e994285552e2b49435428ca50b.tar.zst
gpt4free-8964d15dc36338e994285552e2b49435428ca50b.zip
Diffstat (limited to '')
-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 05f12320..a9eede67 100644
--- a/g4f/Provider/Aivvm.py
+++ b/g4f/Provider/Aivvm.py
@@ -65,7 +65,7 @@ class Aivvm(BaseProvider):
response = requests.post("https://chat.aivvm.com/api/chat", headers=headers, data=data, stream=True)
response.raise_for_status()
- for chunk in response.iter_content():
+ for chunk in response.iter_content(chunk_size=4096):
try:
yield chunk.decode("utf-8")
except UnicodeDecodeError: