diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-13 15:37:36 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-13 15:37:36 +0100 |
commit | ea8d6b847a0e656cc5583948c5745592adda7103 (patch) | |
tree | cb796ff258d339a5ee4a4ec3fb4b2617e6639677 /g4f/__init__.py | |
parent | Change pypi to live (diff) | |
download | gpt4free-ea8d6b847a0e656cc5583948c5745592adda7103.tar gpt4free-ea8d6b847a0e656cc5583948c5745592adda7103.tar.gz gpt4free-ea8d6b847a0e656cc5583948c5745592adda7103.tar.bz2 gpt4free-ea8d6b847a0e656cc5583948c5745592adda7103.tar.lz gpt4free-ea8d6b847a0e656cc5583948c5745592adda7103.tar.xz gpt4free-ea8d6b847a0e656cc5583948c5745592adda7103.tar.zst gpt4free-ea8d6b847a0e656cc5583948c5745592adda7103.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/__init__.py b/g4f/__init__.py index dc7808f9..68f9ccf6 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -17,7 +17,7 @@ def get_model_and_provider(model : Union[Model, str], ignore_stream: bool = False) -> tuple[str, ProviderType]: if debug.version_check: debug.version_check = False - version.utils.check_pypi_version() + version.utils.check_version() if isinstance(provider, str): if provider in ProviderUtils.convert: |