返回提交历史
Modified
g4f/Provider/needs_auth/LMArenaBeta.py
+4
-0
XFEstudio/gpt4free
Update LMArena provider
2f64a199
代码差异
1 个文件
+4
-0
@@ -340,6 +340,10 @@ class LMArenaBeta(AsyncGeneratorProvider, ProviderModelMixin, AuthFileMixin):
340
340
yield "\n" * 10
341
341
yield "<!--"
342
342
yield json.dumps(args)
343
if args:
344
debug.log("Save args to cache file:", str(cache_file))
345
with cache_file.open("w") as f:
346
f.write(args)
343
347
344
348
def get_content_type(url: str) -> str:
345
349
if url.endswith(".webp"):