diff options
author | foxfire52 <foxfire52@virgilio.it> | 2024-10-26 15:19:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-26 15:19:05 +0200 |
commit | e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f (patch) | |
tree | be177b7c6d1b1c4c96fd851333e4392976d6d781 /g4f | |
parent | Update chat.v1.js (diff) | |
download | gpt4free-e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f.tar gpt4free-e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f.tar.gz gpt4free-e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f.tar.bz2 gpt4free-e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f.tar.lz gpt4free-e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f.tar.xz gpt4free-e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f.tar.zst gpt4free-e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/version.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/g4f/version.py b/g4f/version.py index aa9c50ce..eff72303 100644 --- a/g4f/version.py +++ b/g4f/version.py @@ -76,12 +76,10 @@ class VersionUtils: # Read from docker environment version = environ.get("G4F_VERSION") - version = "0.3.3.6" if version: return version - # Read from git repository - try: + # Read from git repository try: command = ["git", "describe", "--tags", "--abbrev=0"] return check_output(command, text=True, stderr=PIPE).strip() except CalledProcessError: |