Lint fixes

This commit is contained in:
Cohee 2024-03-17 14:07:33 +02:00
parent 2baea084a1
commit 532418c534
3 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -6,7 +6,7 @@ const SOURCES = {
secretKey: SECRET_KEYS.NOMICAI,
url: 'api-atlas.nomic.ai/v1/embedding/text',
model: 'nomic-embed-text-v1.5',
}
},
};
/**