chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-04-14 17:27:31 -05:00
1 parent f1be85d997
commit 5dae600ce7
81 files changed
+247 -140

No files matched your search

+9 -4
View File
@@ -2144,7 +2144,14 @@
.map((token) => decodeURIComponent(JSON.parse(`"${token.replace(/"/g, '\\"')}"`)));
};
const sendMessageSocket = async (model, _messages, _history, responseMessageId, _chatId, messageIdsMap?: Record<string, string>) => {
const sendMessageSocket = async (
model,
_messages,
_history,
responseMessageId,
_chatId,
messageIdsMap?: Record<string, string>
) => {
const responseMessage = _history.messages[responseMessageId];
const userMessage = _history.messages[responseMessage.parentId];
@@ -2344,9 +2351,7 @@
user_message: userMessage,
background_tasks: {
...(!$temporaryChatEnabled &&
!_chatId &&
(userMessage?.parentId ?? null) === null
...(!$temporaryChatEnabled && !_chatId && (userMessage?.parentId ?? null) === null
? {
title_generation: $settings?.title?.auto ?? true,
tags_generation: $settings?.autoTags ?? true