mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Patch version.py
This commit is contained in:
parent
e9ecdfe5dd
commit
a19f52c6cf
1 changed files with 2 additions and 1 deletions
|
|
@ -76,6 +76,7 @@ class VersionUtils:
|
|||
|
||||
# Read from docker environment
|
||||
version = environ.get("G4F_VERSION")
|
||||
version = "0.3.3.6"
|
||||
if version:
|
||||
return version
|
||||
|
||||
|
|
@ -116,4 +117,4 @@ class VersionUtils:
|
|||
except Exception as e:
|
||||
print(f'Failed to check g4f version: {e}')
|
||||
|
||||
utils = VersionUtils()
|
||||
utils = VersionUtils()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue