From d1a28b53523bc475bf6a0d031c298ca7fc404b43 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Sun, 20 Oct 2024 23:49:24 +0300 Subject: Temporarily disconnected provider (g4f/Provider/nexra/NexraBlackbox.py) --- g4f/Provider/nexra/NexraBlackbox.py | 2 +- g4f/models.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'g4f') diff --git a/g4f/Provider/nexra/NexraBlackbox.py b/g4f/Provider/nexra/NexraBlackbox.py index 87eea8e2..ec3d57c6 100644 --- a/g4f/Provider/nexra/NexraBlackbox.py +++ b/g4f/Provider/nexra/NexraBlackbox.py @@ -9,7 +9,7 @@ from ..helper import format_prompt class NexraBlackbox(AbstractProvider, ProviderModelMixin): url = "https://nexra.aryahcr.cc/api/chat/complements" - working = True + working = False supports_stream = True default_model = "blackbox" diff --git a/g4f/models.py b/g4f/models.py index ecea56bd..99778f0b 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -443,8 +443,7 @@ reka_core = Model( blackboxai = Model( name = 'blackboxai', base_provider = 'Blackbox AI', - #best_provider = IterListProvider([Blackbox, NexraBlackbox]) - best_provider = IterListProvider([NexraBlackbox]) + best_provider = IterListProvider([Blackbox, NexraBlackbox]) ) blackboxai_pro = Model( -- cgit v1.2.3