diff --git a/public/index.html b/public/index.html index 743cb57f1..d8296c1fb 100644 --- a/public/index.html +++ b/public/index.html @@ -669,7 +669,7 @@ -
+
Temperature
@@ -682,7 +682,7 @@
-
+
Frequency Penalty
@@ -695,7 +695,7 @@
-
+
Presence Penalty
@@ -721,7 +721,7 @@
-
+
Top P
@@ -958,7 +958,7 @@
-
+
Seed
diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 8e2dae2e2..e4ba08ae0 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -1812,6 +1812,7 @@ async function sendOpenAIRequest(type, messages, signal) { const isPerplexity = oai_settings.chat_completion_source == chat_completion_sources.PERPLEXITY; const isGroq = oai_settings.chat_completion_source == chat_completion_sources.GROQ; const is01AI = oai_settings.chat_completion_source == chat_completion_sources.ZEROONEAI; + const isNano = oai_settings.chat_completion_source == chat_completion_sources.NANOGPT; const isTextCompletion = isOAI && textCompletionModels.includes(oai_settings.openai_model); const isQuiet = type === 'quiet'; const isImpersonate = type === 'impersonate'; @@ -1971,7 +1972,7 @@ async function sendOpenAIRequest(type, messages, signal) { delete generate_data.stop; } - if ((isOAI || isOpenRouter || isMistral || isCustom || isCohere) && oai_settings.seed >= 0) { + if ((isOAI || isOpenRouter || isMistral || isCustom || isCohere || isNano) && oai_settings.seed >= 0) { generate_data['seed'] = oai_settings.seed; }