diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-21 09:42:39 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-21 09:42:39 +0200 |
commit | fe5717878fe9dc7d2f05ef11c6f645b6fccbb977 (patch) | |
tree | 12aebbce2926015d118b25b96f8b2056dba685a0 | |
parent | 1 (diff) | |
download | gpt4free-fe5717878fe9dc7d2f05ef11c6f645b6fccbb977.tar gpt4free-fe5717878fe9dc7d2f05ef11c6f645b6fccbb977.tar.gz gpt4free-fe5717878fe9dc7d2f05ef11c6f645b6fccbb977.tar.bz2 gpt4free-fe5717878fe9dc7d2f05ef11c6f645b6fccbb977.tar.lz gpt4free-fe5717878fe9dc7d2f05ef11c6f645b6fccbb977.tar.xz gpt4free-fe5717878fe9dc7d2f05ef11c6f645b6fccbb977.tar.zst gpt4free-fe5717878fe9dc7d2f05ef11c6f645b6fccbb977.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/models.py | 3 | ||||
-rw-r--r-- | main.py | 9 |
2 files changed, 1 insertions, 11 deletions
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) |