diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-24 01:31:17 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-24 01:31:17 +0100 |
commit | 775a0c43a0856f57dbd847a73b9d20b7cddb5063 (patch) | |
tree | e0f7071a2f359ad37ec7ce762b89194d4ba92e19 /g4f/__init__.py | |
parent | Set default values for generation config (diff) | |
download | gpt4free-775a0c43a0856f57dbd847a73b9d20b7cddb5063.tar gpt4free-775a0c43a0856f57dbd847a73b9d20b7cddb5063.tar.gz gpt4free-775a0c43a0856f57dbd847a73b9d20b7cddb5063.tar.bz2 gpt4free-775a0c43a0856f57dbd847a73b9d20b7cddb5063.tar.lz gpt4free-775a0c43a0856f57dbd847a73b9d20b7cddb5063.tar.xz gpt4free-775a0c43a0856f57dbd847a73b9d20b7cddb5063.tar.zst gpt4free-775a0c43a0856f57dbd847a73b9d20b7cddb5063.zip |
Diffstat (limited to 'g4f/__init__.py')
-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 6716c727..5df942ae 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -42,7 +42,7 @@ def get_model_and_provider(model : Union[Model, str], if debug.version_check: debug.version_check = False version.utils.check_version() - + if isinstance(provider, str): if " " in provider: provider_list = [ProviderUtils.convert[p] for p in provider.split() if p in ProviderUtils.convert] |