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

XFEstudio/gpt4free

Update validation

634f7d9a
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/gui/server/backend_api.py +1 -1
@@ -106,7 +106,7 @@ class Backend_Api(Api):
106 106 """
107 107 try:
108 108 decrypted_secret = base64.b64decode(decrypt_data(secret).encode()).decode()
109 return int(decrypted_secret) >= time.time() - 2
109 return int(decrypted_secret) >= time.time() - 3
110 110 except Exception as e:
111 111 logger.error(f"Secret validation failed: {e}")
112 112 return False