diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-04-23 19:57:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 19:57:43 +0200 |
commit | 431621b2747ce62d46c1af53e72d457b46b1c3b1 (patch) | |
tree | e681d6919241cd10406643e12c48d3960b5f52eb /g4f/gui/client/static | |
parent | Merge pull request #1881 from hlohaus/css (diff) | |
parent | Fix issue with You.com and nodriver (diff) | |
download | gpt4free-0.3.0.6.tar gpt4free-0.3.0.6.tar.gz gpt4free-0.3.0.6.tar.bz2 gpt4free-0.3.0.6.tar.lz gpt4free-0.3.0.6.tar.xz gpt4free-0.3.0.6.tar.zst gpt4free-0.3.0.6.zip |
Diffstat (limited to 'g4f/gui/client/static')
-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); |