summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorxtekky <98614666+xtekky@users.noreply.github.com>2023-08-14 00:38:37 +0200
committerGitHub <noreply@github.com>2023-08-14 00:38:37 +0200
commitf272de67d850f8f426ff71b4405a960f7049e57c (patch)
tree627a3688954bdac83590e1263be36d3e387a3c7b /g4f
parentMerge pull request #796 from carlinhoshk/main (diff)
parentFix Ails.py (diff)
downloadgpt4free-f272de67d850f8f426ff71b4405a960f7049e57c.tar
gpt4free-f272de67d850f8f426ff71b4405a960f7049e57c.tar.gz
gpt4free-f272de67d850f8f426ff71b4405a960f7049e57c.tar.bz2
gpt4free-f272de67d850f8f426ff71b4405a960f7049e57c.tar.lz
gpt4free-f272de67d850f8f426ff71b4405a960f7049e57c.tar.xz
gpt4free-f272de67d850f8f426ff71b4405a960f7049e57c.tar.zst
gpt4free-f272de67d850f8f426ff71b4405a960f7049e57c.zip
Diffstat (limited to 'g4f')
-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',