mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
some tweaks
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user