Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1>Promptimprover Swarm Dashboard</h1>
.replace(/>/g, "&gt;")
.replace(/"/g, "&quot;")
.replace(/'/g, "&#039;");

tr.innerHTML = `
<td>${escapeHtml(fmtTime)}</td>
<td>${escapeHtml(log.span_id || 'N/A')}</td>
Expand Down
1 change: 0 additions & 1 deletion dashboard/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const PORT = 3000;

// Helper: read last N lines from trace file
async function readLastLines(filePath, maxLines = 20) {
if (!fs.existsSync(filePath)) return [];
const stream = fs.createReadStream(filePath, { encoding: 'utf8' });
let data = '';
stream.on('data', chunk => { data += chunk; });
Expand Down
Loading