Merge pull request #801 from johnd0e/fix-ails

Fix Ails.py
pull/800/head
xtekky 10 months ago committed by GitHub
commit f272de67d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save