From f3971df893ac617b105357586142dd429e63321f Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 15 Oct 2024 12:36:08 +0300 Subject: Updated(g4f/Provider/Blackbox.py) --- g4f/Provider/Blackbox.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g4f/Provider') 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 = { -- cgit v1.2.3