返回提交历史
Modified
g4f/Provider/needs_auth/LMArenaBeta.py
+1
-1
XFEstudio/gpt4free
Fix save args
de5ace5b
代码差异
1 个文件
+1
-1
@@ -343,7 +343,7 @@ class LMArenaBeta(AsyncGeneratorProvider, ProviderModelMixin, AuthFileMixin):
343
343
if args:
344
344
debug.log("Save args to cache file:", str(cache_file))
345
345
with cache_file.open("w") as f:
346
f.write(args)
346
f.write(json.dumps(args))
347
347
348
348
def get_content_type(url: str) -> str:
349
349
if url.endswith(".webp"):