summaryrefslogtreecommitdiffstats
path: root/g4f/__init__.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-12 11:41:27 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-12 11:41:27 +0100
commitaba4b96f23ef38ca75195b3b78a88bb92035b4a9 (patch)
tree92575678f27d48e2258e823fa299ed21af6cbad2 /g4f/__init__.py
parentImprove preview in image generation of Gemini (diff)
downloadgpt4free-aba4b96f23ef38ca75195b3b78a88bb92035b4a9.tar
gpt4free-aba4b96f23ef38ca75195b3b78a88bb92035b4a9.tar.gz
gpt4free-aba4b96f23ef38ca75195b3b78a88bb92035b4a9.tar.bz2
gpt4free-aba4b96f23ef38ca75195b3b78a88bb92035b4a9.tar.lz
gpt4free-aba4b96f23ef38ca75195b3b78a88bb92035b4a9.tar.xz
gpt4free-aba4b96f23ef38ca75195b3b78a88bb92035b4a9.tar.zst
gpt4free-aba4b96f23ef38ca75195b3b78a88bb92035b4a9.zip
Diffstat (limited to 'g4f/__init__.py')
-rw-r--r--g4f/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/__init__.py b/g4f/__init__.py
index 93e4aa86..ec4a1743 100644
--- a/g4f/__init__.py
+++ b/g4f/__init__.py
@@ -16,7 +16,8 @@ def get_model_and_provider(model : Union[Model, str],
stream : bool,
ignored : list[str] = None,
ignore_working: bool = False,
- ignore_stream: bool = False) -> tuple[str, ProviderType]:
+ ignore_stream: bool = False,
+ **kwargs) -> tuple[str, ProviderType]:
"""
Retrieves the model and provider based on input parameters.