From fe5717878fe9dc7d2f05ef11c6f645b6fccbb977 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Mon, 21 Oct 2024 10:42:39 +0300 Subject: Update (main.py g4f/models.py) --- g4f/models.py | 3 +-- main.py | 9 --------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 main.py 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( diff --git a/main.py b/main.py deleted file mode 100644 index 4631ac11..00000000 --- a/main.py +++ /dev/null @@ -1,9 +0,0 @@ -from g4f.client import Client - -client = Client() -response = client.chat.completions.create( - model="blackboxai", - messages=[{"role": "user", "content": "Hello"}], - # Add any other necessary parameters -) -print(response.choices[0].message.content) -- cgit v1.2.3