diff --git a/public/script.js b/public/script.js index bcda7534d..ec8d6c6a4 100644 --- a/public/script.js +++ b/public/script.js @@ -8461,8 +8461,8 @@ jQuery(async function () { await clearChat(); chat.length = 0; - chat_file_for_del = getCurrentChatDetails().sessionName - const isDelChatCheckbox = document.getElementById('del_chat_checkbox').checked + chat_file_for_del = getCurrentChatDetails().sessionName; + const isDelChatCheckbox = document.getElementById('del_chat_checkbox').checked; if (selected_group) { //Fix it; When you're creating a new group chat (but not when initially converting from the existing regular chat), the first greeting message doesn't automatically get translated. diff --git a/src/constants.js b/src/constants.js index 8ce355038..db113a92c 100644 --- a/src/constants.js +++ b/src/constants.js @@ -207,7 +207,7 @@ const DREAMGEN_KEYS = [ 'presence_penalty', 'stop', 'stream', - 'minimum_message_content_tokens' + 'minimum_message_content_tokens', ]; // https://docs.together.ai/reference/completions diff --git a/src/nomicai-vectors.js b/src/nomicai-vectors.js index 442063b4c..6415291eb 100644 --- a/src/nomicai-vectors.js +++ b/src/nomicai-vectors.js @@ -6,7 +6,7 @@ const SOURCES = { secretKey: SECRET_KEYS.NOMICAI, url: 'api-atlas.nomic.ai/v1/embedding/text', model: 'nomic-embed-text-v1.5', - } + }, }; /**