disable chat_recent

This commit is contained in:
legop3
2026-05-01 00:03:21 -04:00
parent b2a2296d98
commit eefe434607
@@ -119,12 +119,13 @@ function formatSnapshotFinalMessage(currentSnapshot = {}, runMeta = {}) {
rovers.forEach((rover) => { rovers.forEach((rover) => {
lines.push(formatRoverSnapshotLine(rover)); lines.push(formatRoverSnapshotLine(rover));
}); });
if (Array.isArray(currentSnapshot?.chat_recent) && currentSnapshot.chat_recent.length) { // disable chat_recent to maybe make it less spammy...
lines.push('chat_recent:'); // if (Array.isArray(currentSnapshot?.chat_recent) && currentSnapshot.chat_recent.length) {
currentSnapshot.chat_recent.forEach((entry) => { // lines.push('chat_recent:');
lines.push(`- ${entry.nickname || 'unknown'}: ${entry.text || ''}`); // currentSnapshot.chat_recent.forEach((entry) => {
}); // lines.push(`- ${entry.nickname || 'unknown'}: ${entry.text || ''}`);
} // });
// }
return lines.join('\n'); return lines.join('\n');
} }