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

XFEstudio/gpt4free

Check_pypi_version now returns value

abbf2927
Eikosa <darkofheking@gmail.com>
提交于

代码差异

1 个文件 +2 -0
Modified g4f/__init__.py +2 -0
@@ -15,6 +15,8 @@ def check_pypi_version() -> None:
15 15
16 16 if version != latest_version:
17 17 print(f'New pypi version: {latest_version} (current: {version}) | pip install -U g4f')
18 return False
19 return True
18 20
19 21 except Exception as e:
20 22 print(f'Failed to check g4f pypi version: {e}')