summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
Diffstat (limited to 'g4f')
-rw-r--r--g4f/gui/client/js/chat.v1.js2
-rw-r--r--g4f/gui/server/backend.py5
-rw-r--r--g4f/models.py2
3 files changed, 7 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 {
diff --git a/g4f/models.py b/g4f/models.py
index a6cd724b..cf24ff52 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -275,6 +275,8 @@ class ModelUtils:
'gpt-3.5-turbo-16k' : gpt_35_turbo_16k,
'gpt-3.5-turbo-16k-0613' : gpt_35_turbo_16k_0613,
+ 'gpt-3.5-long': gpt_35_long,
+
# gpt-4
'gpt-4' : gpt_4,
'gpt-4-0613' : gpt_4_0613,