XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Fix Ails.py

Fix arguments order

f9b72de1
johnd0e <1838643+johnd0e@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/Providers/Ails.py +1 -1
@@ -41,7 +41,7 @@ class Utils:
41 41 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]
42 42 return crossref
43 43
44 def _create_completion(model: str, messages: list, temperature: float = 0.6, stream: bool = False, **kwargs):
44 def _create_completion(model: str, messages: list, stream: bool = False, temperature: float = 0.6, **kwargs):
45 45
46 46 headers = {
47 47 'authority': 'api.caipacity.com',