mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-23 17:23:57 +03:00
~ | improve Vercel & g4f.Completion.create
This commit is contained in:
parent
76bd483c1b
commit
bf78b4d033
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user