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

XFEstudio/gpt4free

Remove patch version.py

e605d4c4
foxfire52 <foxfire52@virgilio.it>
提交于

代码差异

1 个文件 +1 -3
Modified g4f/version.py +1 -3
@@ -76,12 +76,10 @@ class VersionUtils:
76 76
77 77 # Read from docker environment
78 78 version = environ.get("G4F_VERSION")
79 version = "0.3.3.6"
80 79 if version:
81 80 return version
82 81
83 # Read from git repository
84 try:
82 # Read from git repository try:
85 83 command = ["git", "describe", "--tags", "--abbrev=0"]
86 84 return check_output(command, text=True, stderr=PIPE).strip()
87 85 except CalledProcessError: