summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-21 09:32:32 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-21 09:32:32 +0200
commitd10f5d6b4d21409398bd8a816b7b1e29002bb4c0 (patch)
tree2e2404468b482af4b89cd61379de50071cfeeb82 /g4f
parentTemporarily disconnected provider (g4f/Provider/nexra/NexraBlackbox.py) (diff)
downloadgpt4free-d10f5d6b4d21409398bd8a816b7b1e29002bb4c0.tar
gpt4free-d10f5d6b4d21409398bd8a816b7b1e29002bb4c0.tar.gz
gpt4free-d10f5d6b4d21409398bd8a816b7b1e29002bb4c0.tar.bz2
gpt4free-d10f5d6b4d21409398bd8a816b7b1e29002bb4c0.tar.lz
gpt4free-d10f5d6b4d21409398bd8a816b7b1e29002bb4c0.tar.xz
gpt4free-d10f5d6b4d21409398bd8a816b7b1e29002bb4c0.tar.zst
gpt4free-d10f5d6b4d21409398bd8a816b7b1e29002bb4c0.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/nexra/NexraBlackbox.py2
-rw-r--r--g4f/models.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/g4f/Provider/nexra/NexraBlackbox.py b/g4f/Provider/nexra/NexraBlackbox.py
index ec3d57c6..87eea8e2 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 = False
+ working = True
supports_stream = True
default_model = "blackbox"
diff --git a/g4f/models.py b/g4f/models.py
index 99778f0b..ecea56bd 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -443,7 +443,8 @@ reka_core = Model(
blackboxai = Model(
name = 'blackboxai',
base_provider = 'Blackbox AI',
- best_provider = IterListProvider([Blackbox, NexraBlackbox])
+ #best_provider = IterListProvider([Blackbox, NexraBlackbox])
+ best_provider = IterListProvider([NexraBlackbox])
)
blackboxai_pro = Model(