diff options
Diffstat (limited to 'g4f/gui/client/static/js/chat.v1.js')
-rw-r--r-- | g4f/gui/client/static/js/chat.v1.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g4f/gui/client/static/js/chat.v1.js b/g4f/gui/client/static/js/chat.v1.js index d5988c26..23605ed4 100644 --- a/g4f/gui/client/static/js/chat.v1.js +++ b/g4f/gui/client/static/js/chat.v1.js @@ -1246,6 +1246,8 @@ async function load_provider_models(providerIndex=null) { } const provider = providerSelect.options[providerIndex].value; if (!provider) { + modelProvider.classList.add("hidden"); + modelSelect.classList.remove("hidden"); return; } const models = await api('models', provider); |