mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-19 00:22:26 +03:00
Merge pull request #591 from enganese/patch-1
This commit is contained in:
commit
a076cd916a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user