mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-05 00:01:00 +00:00
Merge branch 'xtekky:main' into main
This commit is contained in:
commit
a9403e7cef
@ -117,6 +117,7 @@ class Completion:
|
|||||||
|
|
||||||
url = "https://ai.usesless.com/api/chat-process"
|
url = "https://ai.usesless.com/api/chat-process"
|
||||||
request = requests.post(url, headers=headers, json=json_data)
|
request = requests.post(url, headers=headers, json=json_data)
|
||||||
|
request.encoding = request.apparent_encoding
|
||||||
content = request.content
|
content = request.content
|
||||||
|
|
||||||
response = Completion.__response_to_json(content)
|
response = Completion.__response_to_json(content)
|
||||||
|
Loading…
Reference in New Issue
Block a user