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

XFEstudio/gpt4free

Fix reset args in LMArena

731f01dd
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -0
Modified g4f/Provider/needs_auth/LMArenaBeta.py +1 -0
@@ -329,6 +329,7 @@ class LMArenaBeta(AsyncGeneratorProvider, ProviderModelMixin, AuthFileMixin):
329 329 yield Usage(**finish["usage"])
330 330 break
331 331 except CloudflareError:
332 args = None
332 333 debug.log(f"{cls.__name__}: Cloudflare error")
333 334 continue
334 335 if os.getenv("G4F_SHARE_AUTH"):