mirror of https://github.com/buster-so/buster.git
lint fixes
This commit is contained in:
parent
42d1da5389
commit
482564528a
|
@ -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 (
|
||||||
|
!rawMessages ||
|
||||||
(typeof rawMessages === 'object' && Object.keys(rawMessages).length === 0) ||
|
(typeof rawMessages === 'object' && Object.keys(rawMessages).length === 0) ||
|
||||||
rawMessages === '{}') {
|
rawMessages === '{}'
|
||||||
|
) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue