summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-13 20:03:24 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-13 20:03:24 +0200
commit5b5885253905eeee0f0c2e6e1b6f228e232b9723 (patch)
tree063a24ee015dc9f2b04bff2dcc0d776cb6ba9d29
parentfeat(providers): unify Rocks and FluxAirforce into Airforce provider (diff)
downloadgpt4free-5b5885253905eeee0f0c2e6e1b6f228e232b9723.tar
gpt4free-5b5885253905eeee0f0c2e6e1b6f228e232b9723.tar.gz
gpt4free-5b5885253905eeee0f0c2e6e1b6f228e232b9723.tar.bz2
gpt4free-5b5885253905eeee0f0c2e6e1b6f228e232b9723.tar.lz
gpt4free-5b5885253905eeee0f0c2e6e1b6f228e232b9723.tar.xz
gpt4free-5b5885253905eeee0f0c2e6e1b6f228e232b9723.tar.zst
gpt4free-5b5885253905eeee0f0c2e6e1b6f228e232b9723.zip
-rw-r--r--g4f/models.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 6547d38c..59ff5dfa 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -588,6 +588,13 @@ emi = Model(
)
+any_dark = Model(
+ name = 'any-dark',
+ base_provider = '',
+ best_provider = IterListProvider([Airforce])
+
+)
+
class ModelUtils:
"""
Utility class for mapping string identifiers to Model instances.
@@ -769,6 +776,7 @@ class ModelUtils:
'dalle-2': dalle_2,
'dalle-mini': dalle_mini,
'emi': emi,
+'any-dark': any_dark,
}
_all_models = list(ModelUtils.convert.keys())