summaryrefslogtreecommitdiffstats
path: root/g4f/gui
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-06 11:54:50 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-06 11:54:50 +0100
commitc667f1cec521534781de51e316d5edeed89bdb89 (patch)
tree766b0de6fe8d9bda0dfc9f7fed5b452f3717b504 /g4f/gui
parentAdd selenium to dockerfile (diff)
downloadgpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.gz
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.bz2
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.lz
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.xz
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.zst
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.zip
Diffstat (limited to 'g4f/gui')
-rw-r--r--g4f/gui/client/js/chat.v1.js2
-rw-r--r--g4f/gui/server/backend.py5
2 files changed, 5 insertions, 2 deletions
diff --git a/g4f/gui/client/js/chat.v1.js b/g4f/gui/client/js/chat.v1.js
index 2b1fdcb0..2844b73e 100644
--- a/g4f/gui/client/js/chat.v1.js
+++ b/g4f/gui/client/js/chat.v1.js
@@ -601,7 +601,7 @@ observer.observe(message_input, { attributes: true });
let auto = document.createElement('option');
auto.value = '';
- auto.text = 'Default Model';
+ auto.text = 'Model: Default';
select.appendChild(auto);
for (model of models) {
diff --git a/g4f/gui/server/backend.py b/g4f/gui/server/backend.py
index 03363201..e1abb764 100644
--- a/g4f/gui/server/backend.py
+++ b/g4f/gui/server/backend.py
@@ -41,7 +41,10 @@ class Backend_Api:
return g4f._all_models
def providers(self):
- return [provider.__name__ for provider in g4f.Provider.__providers__ if provider.working]
+ return [
+ provider.__name__ for provider in g4f.Provider.__providers__
+ if provider.working and provider is not g4f.Provider.RetryProvider
+ ]
def _gen_title(self):
return {