We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8863f5 + 0e7a572 commit 11cf4cdCopy full SHA for 11cf4cd
2 files changed
dashboard/index.html
@@ -41,7 +41,7 @@ <h1>Promptimprover Swarm Dashboard</h1>
41
.replace(/>/g, ">")
42
.replace(/"/g, """)
43
.replace(/'/g, "'");
44
-
+
45
tr.innerHTML = `
46
<td>${escapeHtml(fmtTime)}</td>
47
<td>${escapeHtml(log.span_id || 'N/A')}</td>
dashboard/server.js
@@ -11,7 +11,6 @@ const PORT = 3000;
11
12
// Helper: read last N lines from trace file
13
async function readLastLines(filePath, maxLines = 20) {
14
- if (!fs.existsSync(filePath)) return [];
15
const stream = fs.createReadStream(filePath, { encoding: 'utf8' });
16
let data = '';
17
stream.on('data', chunk => { data += chunk; });
0 commit comments