diff --git a/public/index.html b/public/index.html index 6f0c67322..7b3673c0d 100644 --- a/public/index.html +++ b/public/index.html @@ -3094,66 +3094,12 @@
For privacy reasons, your API key will be hidden after you reload the page.
-

NanoGPT Model

- - +
+

NanoGPT Model

+ +

Perplexity API Key

diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 2b2306ec3..cd76fc117 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -1641,6 +1641,23 @@ function saveModelList(data) { } } } + + if (oai_settings.chat_completion_source == chat_completion_sources.NANOGPT) { + $('#model_nanogpt_select').empty(); + model_list.forEach((model) => { + $('#model_nanogpt_select').append( + $('