ваше сообщение коммита

This commit is contained in:
2025-08-07 20:27:24 +03:00
parent cde35ac576
commit 0a72902c37
44 changed files with 3594 additions and 1447 deletions

View File

@@ -50,6 +50,7 @@ async function getSettings() {
);
supportEmail = em.rows[0] || null;
}
return {
...setting,
telegramBot,
@@ -58,12 +59,12 @@ async function getSettings() {
};
}
async function upsertSettings({ system_prompt, selected_rag_tables, languages, model, embedding_model, rules, updated_by, telegram_settings_id, email_settings_id, system_message }) {
async function upsertSettings({ system_prompt, selected_rag_tables, model, embedding_model, rules, updated_by, telegram_settings_id, email_settings_id, system_message }) {
const data = {
id: 1,
system_prompt,
selected_rag_tables,
languages,
languages: ['ru'], // Устанавливаем русский язык по умолчанию
model,
embedding_model,
rules,