Merge pull request #591 from enganese/patch-1

This commit is contained in:
xtekky 2023-05-23 08:30:43 +01:00 committed by GitHub
commit a076cd916a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,6 +117,7 @@ class Completion:
url = "https://ai.usesless.com/api/chat-process"
request = requests.post(url, headers=headers, json=json_data)
request.encoding = request.apparent_encoding
content = request.content
response = Completion.__response_to_json(content)