summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-09-23 15:35:17 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-09-23 15:35:17 +0200
commit4edd7518de837d6469a5ec982cc5ffb959ae4e92 (patch)
tree589b92657b775929091a3b9bb20742a335962644 /g4f/models.py
parent ~ | improve Vercel & g4f.Completion.create (diff)
downloadgpt4free-4edd7518de837d6469a5ec982cc5ffb959ae4e92.tar
gpt4free-4edd7518de837d6469a5ec982cc5ffb959ae4e92.tar.gz
gpt4free-4edd7518de837d6469a5ec982cc5ffb959ae4e92.tar.bz2
gpt4free-4edd7518de837d6469a5ec982cc5ffb959ae4e92.tar.lz
gpt4free-4edd7518de837d6469a5ec982cc5ffb959ae4e92.tar.xz
gpt4free-4edd7518de837d6469a5ec982cc5ffb959ae4e92.tar.zst
gpt4free-4edd7518de837d6469a5ec982cc5ffb959ae4e92.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 71fd6b18..01b42106 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -24,7 +24,7 @@ from .Provider import (
class Model:
name: str
base_provider: str
- best_provider: Union[type[BaseProvider], tuple[type[BaseProvider]]] = None
+ best_provider: Union[type[BaseProvider], RetryProvider] = None
# Config for HuggingChat, OpenAssistant
# Works for Liaobots, H2o, OpenaiChat, Yqcloud, You