chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-04-14 17:27:31 -05:00
parent f1be85d997
commit 5dae600ce7
81 changed files with 247 additions and 140 deletions
@@ -172,9 +172,7 @@ Based on the user's instruction, update and enhance the existing notes or select
// Filter out empty assistant placeholder messages to avoid sending
// an empty trailing assistant message as "response prefill", which is
// incompatible with enable_thinking in llama.cpp and similar backends.
const filteredMessages = messages.filter(
(m) => !(m.role === 'assistant' && m.content === '')
);
const filteredMessages = messages.filter((m) => !(m.role === 'assistant' && m.content === ''));
const chatMessages = JSON.parse(
JSON.stringify([