mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
commit
f272de67d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
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
|
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 = {
|
headers = {
|
||||||
'authority': 'api.caipacity.com',
|
'authority': 'api.caipacity.com',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue