summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server
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/server
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/server')
-rw-r--r--g4f/gui/server/backend.py5
1 files changed, 4 insertions, 1 deletions
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 {