chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-04-24 18:48:21 +09:00
parent f48b8ffbf0
commit 8ff7ff459b
18 changed files with 73 additions and 88 deletions
-1
View File
@@ -647,4 +647,3 @@ export const setBanners = async (token: string, banners: Banner[]) => {
return res;
};
-1
View File
@@ -483,4 +483,3 @@ export const updateUserValvesById = async (token: string, id: string, valves: ob
return res;
};
-1
View File
@@ -550,4 +550,3 @@ export const getUserGroupsById = async (token: string, userId: string) => {
return res;
};
@@ -1369,12 +1369,13 @@
)}
/>
</Tooltip>
</div>
{#if RAGConfig.RAG_TEMPLATE && ((RAGConfig.RAG_TEMPLATE.match(/\[context\]/g) || []).length + (RAGConfig.RAG_TEMPLATE.match(/\{\{CONTEXT\}\}/g) || []).length) > 1}
{#if RAGConfig.RAG_TEMPLATE && (RAGConfig.RAG_TEMPLATE.match(/\[context\]/g) || []).length + (RAGConfig.RAG_TEMPLATE.match(/\{\{CONTEXT\}\}/g) || []).length > 1}
<div class="mt-1 text-xs text-gray-400 dark:text-gray-500">
{$i18n.t('This template contains multiple context placeholders ([context] or {{CONTEXT}}). Context will be injected at each occurrence.')}
{$i18n.t(
'This template contains multiple context placeholders ([context] or {{CONTEXT}}). Context will be injected at each occurrence.'
)}
</div>
{/if}
</div>
@@ -406,7 +406,7 @@
}
}}
>
<LinkSlash className="size-3.5" />
<LinkSlash className="size-3.5" />
</button>
</Tooltip>
</div>
@@ -138,4 +138,3 @@
contain-intrinsic-size: auto 150px;
}
</style>
+5 -5
View File
@@ -517,7 +517,7 @@
"Delete a model": "모델 삭제",
"Delete All": "모두 삭제",
"Delete All Chats": "모든 채팅 삭제",
"Delete all contents inside this folder":"이 폴더 내 모든 콘텐츠 삭제",
"Delete all contents inside this folder": "이 폴더 내 모든 콘텐츠 삭제",
"Delete automation?": "자동 삭제하시겠습니까?",
"Delete Chat": "채팅 삭제",
"Delete chat?": "채팅을 삭제하시겠습니까?",
@@ -1350,7 +1350,7 @@
"new-channel": "새 채널",
"Next message": "다음 메시지",
"Next run": "다음 실행",
"No access grants. Private to you.": "접근 권한이 없습니다. 개인용입니다.",
"No access grants. Private to you.": "접근 권한이 없습니다. 개인용입니다.",
"No activity data": "활동 데이터가 없습니다",
"No authentication": "권한 인증이 없습니다",
"No automations found": "자동화된 항목을 찾을 수 없습니다.",
@@ -1697,8 +1697,8 @@
"Search": "검색",
"Search a model": "모델 검색",
"Search all emojis": "모든 이모지 검색",
"Search and manage user memories":"사용자 기억 검색 및 관리",
"Search and view user chat history":"사용자 채팅 기록 검색 및 보기",
"Search and manage user memories": "사용자 기억 검색 및 관리",
"Search and view user chat history": "사용자 채팅 기록 검색 및 보기",
"Search Automations": "자동 검색",
"Search Base": "검색 기반",
"Search channels and channel messages": "채널 및 채널 메시지 검색",
@@ -2003,7 +2003,7 @@
"Tika Server URL required.": "Tika 서버 URL이 필요합니다.",
"Tiktoken": "틱토큰 (Tiktoken)",
"Time": "시간",
"Time & Calculation":"시간 및 계산",
"Time & Calculation": "시간 및 계산",
"Timeout": "시간 초과",
"Title": "제목",
"Title Auto-Generation": "제목 자동 생성",
+4 -1
View File
@@ -489,7 +489,10 @@
const displayTitle = title || $i18n.t('New Chat');
if (done) {
if (($settings?.notificationSound ?? true) && ($settings?.notificationSoundAlways ?? false)) {
if (
($settings?.notificationSound ?? true) &&
($settings?.notificationSoundAlways ?? false)
) {
playingNotificationSound.set(true);
const audio = new Audio(`/audio/notification.mp3`);