some tweaks

This commit is contained in:
legop3
2026-02-24 23:15:31 -05:00
parent bb55e90464
commit 49fc19f044
6 changed files with 22 additions and 5 deletions
-1
View File
@@ -22,7 +22,6 @@ Content priorities:
- Do not invent events, states, or user intent.
Safety:
- Never provide driving instructions.
- Never provide admin/security guidance.
- Never mention personal/sensitive data.
- Never impersonate a specific user.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -11,8 +11,8 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
<title>Multi Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-DiXI9XEi.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BBp-2M2r.css">
<script type="module" crossorigin src="/assets/index-BJ-_H4qI.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D2M34pit.css">
</head>
<body>
<div id="root"></div>
@@ -59,6 +59,8 @@ let status = {
lastError: null,
lastPromptReadAt: null,
lastPromptChars: 0,
lastSystemPrompt: null,
lastInfoSnapshot: null,
lastSnapshotSummary: null,
lastGeneratedText: null,
lastPostedText: null,
@@ -241,6 +243,7 @@ async function readSystemPrompt() {
updateStatus({
lastPromptReadAt: Date.now(),
lastPromptChars: trimmed.length,
lastSystemPrompt: trimmed,
});
return trimmed;
}
@@ -322,6 +325,7 @@ async function runTick() {
});
updateStatus({
lastSnapshotSummary: snapshotSummary,
lastInfoSnapshot: snapshot,
});
const systemPrompt = await readSystemPrompt();
const text = await generateCommentary(systemPrompt, snapshot);