(log_1)
| 1483 | return (a.score ?? 1) - (b.score ?? 1); |
| 1484 | } |
| 1485 | function _temp2(log_1) { |
| 1486 | const currentSessionId = getSessionId(); |
| 1487 | const logSessionId = getSessionIdFromLog(log_1); |
| 1488 | const isCurrentSession = currentSessionId && logSessionId === currentSessionId; |
| 1489 | if (isCurrentSession) { |
| 1490 | return true; |
| 1491 | } |
| 1492 | if (log_1.customTitle) { |
| 1493 | return true; |
| 1494 | } |
| 1495 | const fromMessages = getFirstMeaningfulUserMessageTextContent(log_1.messages); |
| 1496 | if (fromMessages) { |
| 1497 | return true; |
| 1498 | } |
| 1499 | if (log_1.firstPrompt || log_1.customTitle) { |
| 1500 | return true; |
| 1501 | } |
| 1502 | return false; |
| 1503 | } |
| 1504 | function _temp(log) { |
| 1505 | return [log, buildSearchableText(log)]; |
| 1506 | } |
nothing calls this directly
no test coverage detected