Merge pull request #801 from johnd0e/fix-ails

Fix Ails.py
This commit is contained in:
xtekky 2023-08-14 00:38:37 +02:00 committed by GitHub
commit f272de67d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',