~ | improve Vercel & g4f.Completion.create

This commit is contained in:
abc 2023-09-23 11:33:44 +01:00
parent 76bd483c1b
commit bf78b4d033

View File

@ -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