Update Yqcloud.py

This commit is contained in:
MaxKUlish1 2023-08-18 02:54:31 +06:00 committed by GitHub
parent 6da550f65c
commit 5de30dd097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ 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