lint fixes

This commit is contained in:
dal 2025-07-23 16:56:32 -06:00
parent 42d1da5389
commit 482564528a
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 8 additions and 6 deletions

View File

@ -81,9 +81,11 @@ function getMostRecentRawLlmMessages(
// Skip if rawLlmMessages is empty, null, or default empty object // Skip if rawLlmMessages is empty, null, or default empty object
const rawMessages = message.rawLlmMessages; const rawMessages = message.rawLlmMessages;
if (!rawMessages || if (
(typeof rawMessages === 'object' && Object.keys(rawMessages).length === 0) || !rawMessages ||
rawMessages === '{}') { (typeof rawMessages === 'object' && Object.keys(rawMessages).length === 0) ||
rawMessages === '{}'
) {
continue; continue;
} }