mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Lint fixes
This commit is contained in:
@ -8461,8 +8461,8 @@ jQuery(async function () {
|
|||||||
await clearChat();
|
await clearChat();
|
||||||
chat.length = 0;
|
chat.length = 0;
|
||||||
|
|
||||||
chat_file_for_del = getCurrentChatDetails().sessionName
|
chat_file_for_del = getCurrentChatDetails().sessionName;
|
||||||
const isDelChatCheckbox = document.getElementById('del_chat_checkbox').checked
|
const isDelChatCheckbox = document.getElementById('del_chat_checkbox').checked;
|
||||||
|
|
||||||
if (selected_group) {
|
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.
|
//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.
|
||||||
|
@ -207,7 +207,7 @@ const DREAMGEN_KEYS = [
|
|||||||
'presence_penalty',
|
'presence_penalty',
|
||||||
'stop',
|
'stop',
|
||||||
'stream',
|
'stream',
|
||||||
'minimum_message_content_tokens'
|
'minimum_message_content_tokens',
|
||||||
];
|
];
|
||||||
|
|
||||||
// https://docs.together.ai/reference/completions
|
// https://docs.together.ai/reference/completions
|
||||||
|
@ -6,7 +6,7 @@ const SOURCES = {
|
|||||||
secretKey: SECRET_KEYS.NOMICAI,
|
secretKey: SECRET_KEYS.NOMICAI,
|
||||||
url: 'api-atlas.nomic.ai/v1/embedding/text',
|
url: 'api-atlas.nomic.ai/v1/embedding/text',
|
||||||
model: 'nomic-embed-text-v1.5',
|
model: 'nomic-embed-text-v1.5',
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user