summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Providers/Ails.py
diff options
context:
space:
mode:
authorjohnd0e <1838643+johnd0e@users.noreply.github.com>2023-08-14 00:03:39 +0200
committerjohnd0e <1838643+johnd0e@users.noreply.github.com>2023-08-14 00:03:39 +0200
commitf9b72de1a24531e8c782b39790fe968b1449ce7e (patch)
tree83f1f31516c7e9e5abf39496cec34962bf0ed958 /g4f/Provider/Providers/Ails.py
parentv 0.0.1.4 (diff)
downloadgpt4free-f9b72de1a24531e8c782b39790fe968b1449ce7e.tar
gpt4free-f9b72de1a24531e8c782b39790fe968b1449ce7e.tar.gz
gpt4free-f9b72de1a24531e8c782b39790fe968b1449ce7e.tar.bz2
gpt4free-f9b72de1a24531e8c782b39790fe968b1449ce7e.tar.lz
gpt4free-f9b72de1a24531e8c782b39790fe968b1449ce7e.tar.xz
gpt4free-f9b72de1a24531e8c782b39790fe968b1449ce7e.tar.zst
gpt4free-f9b72de1a24531e8c782b39790fe968b1449ce7e.zip
Diffstat (limited to 'g4f/Provider/Providers/Ails.py')
-rw-r--r--g4f/Provider/Providers/Ails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Providers/Ails.py b/g4f/Provider/Providers/Ails.py
index 1433c4a3..d681dadb 100644
--- a/g4f/Provider/Providers/Ails.py
+++ b/g4f/Provider/Providers/Ails.py
@@ -41,7 +41,7 @@ class Utils:
crossref = requests.get("https://ai.ls"+ requests.get("https://ai.ls/?chat=1").text.split('crossorigin href="')[1].split('"')[0]).text.split('G4="')[1].split('"')[0]
return crossref
-def _create_completion(model: str, messages: list, temperature: float = 0.6, stream: bool = False, **kwargs):
+def _create_completion(model: str, messages: list, stream: bool = False, temperature: float = 0.6, **kwargs):
headers = {
'authority': 'api.caipacity.com',