summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 11:36:08 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 11:36:08 +0200
commitf3971df893ac617b105357586142dd429e63321f (patch)
treea8ff0cc7a934b880147b1568d333795fc11adca9 /g4f
parentfeat(g4f/models.py): update model configurations and providers (diff)
downloadgpt4free-f3971df893ac617b105357586142dd429e63321f.tar
gpt4free-f3971df893ac617b105357586142dd429e63321f.tar.gz
gpt4free-f3971df893ac617b105357586142dd429e63321f.tar.bz2
gpt4free-f3971df893ac617b105357586142dd429e63321f.tar.lz
gpt4free-f3971df893ac617b105357586142dd429e63321f.tar.xz
gpt4free-f3971df893ac617b105357586142dd429e63321f.tar.zst
gpt4free-f3971df893ac617b105357586142dd429e63321f.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/Blackbox.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/Blackbox.py b/g4f/Provider/Blackbox.py
index 3054bcd6..250ffe48 100644
--- a/g4f/Provider/Blackbox.py
+++ b/g4f/Provider/Blackbox.py
@@ -19,6 +19,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
supports_message_history = True
default_model = 'blackboxai'
+ image_models = ['ImageGeneration']
models = [
default_model,
'blackboxai-pro',
@@ -47,7 +48,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
'ReactAgent',
'XcodeAgent',
'AngularJSAgent',
- 'ImageGeneration',
+ *image_models,
]
agentMode = {