style: auto-fix ESLint issues (curly braces and formatting)
- Add curly braces to all if/else/for/while statements - Fix indentation and trailing spaces - Auto-fixed 372 linting errors using eslint --fix - Remaining issues are warnings only (non-null assertions, explicit any types)
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ export function normalizeMessagesForLocal(
|
||||
|
||||
for (const msg of messages) {
|
||||
const text = getMessageTextWithTools(msg);
|
||||
if (!text) continue; // drop empty messages
|
||||
if (!text) {continue;} // drop empty messages
|
||||
|
||||
const last = result.length > 0 ? result[result.length - 1] : undefined;
|
||||
if (last && last.role === msg.role) {
|
||||
|
||||
Reference in New Issue
Block a user