From f9b72de1a24531e8c782b39790fe968b1449ce7e Mon Sep 17 00:00:00 2001 From: johnd0e <1838643+johnd0e@users.noreply.github.com> Date: Mon, 14 Aug 2023 00:03:39 +0200 Subject: Fix Ails.py Fix arguments order --- g4f/Provider/Providers/Ails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f') 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', -- cgit v1.2.3