返回提交历史
Modified
g4f/version.py
+1
-3
XFEstudio/gpt4free
Remove patch version.py
e605d4c4
代码差异
1 个文件
+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: