mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-19 03:25:32 +00:00
commit
d5d0e6abc1
@ -22,6 +22,7 @@ class Yqcloud(BaseProvider):
|
||||
url = "https://api.aichatos.cloud/api/generateStream"
|
||||
response = requests.post(url=url, headers=headers, json=payload)
|
||||
response.raise_for_status()
|
||||
response.encoding = 'utf-8'
|
||||
yield response.text
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user