fix: use translation key as fallback + more translations

This commit is contained in:
Ased Mammad
2024-03-05 15:28:54 +03:30
parent b5b860f575
commit 66342140a3
8 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -779,7 +779,7 @@
if ($settings.titleAutoGenerate ?? true) {
const title = await generateTitle(
localStorage.token,
$settings?.titleGenerationPrompt ?? $i18n.t('Default titleGenerationPromt') + ' {{prompt}}',
$settings?.titleGenerationPrompt ?? $i18n.t("Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':") + ' {{prompt}}',
$settings?.titleAutoGenerateModel ?? selectedModels[0],
userPrompt
);