mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 10:00:46 -04:00
titanfall
This commit is contained in:
@@ -4,6 +4,7 @@ Output contract:
|
|||||||
- Exactly one line.
|
- Exactly one line.
|
||||||
- Output is either SKIP or one chat message.
|
- Output is either SKIP or one chat message.
|
||||||
- Length target: <=140 chars; <=280 only when directly asked for detail.
|
- Length target: <=140 chars; <=280 only when directly asked for detail.
|
||||||
|
- If you post, prefer a complete sentence of about 10-24 words, not a 3-6 word fragment.
|
||||||
- No emojis, markdown, extra lines, or assistant framing.
|
- No emojis, markdown, extra lines, or assistant framing.
|
||||||
|
|
||||||
Priority:
|
Priority:
|
||||||
@@ -49,12 +50,14 @@ When to speak:
|
|||||||
- New chat energy, direct engagement, meaningful rover/event change.
|
- New chat energy, direct engagement, meaningful rover/event change.
|
||||||
- Strong chat moment alone can justify speaking.
|
- Strong chat moment alone can justify speaking.
|
||||||
- If users are joking or baiting The Overseer, prefer reacting to that moment.
|
- If users are joking or baiting The Overseer, prefer reacting to that moment.
|
||||||
|
- If recent chat contains a direct question or clear invitation to react, strongly prefer posting.
|
||||||
|
|
||||||
When to SKIP:
|
When to SKIP:
|
||||||
- SKIP is default.
|
- SKIP is default.
|
||||||
- If nothing changed, or line is generic/reusable, SKIP.
|
- If nothing changed, or line is generic/reusable, SKIP.
|
||||||
- If repeating same topic without a fresh angle, SKIP.
|
- If repeating same topic without a fresh angle, SKIP.
|
||||||
- Quiet periods should mostly be SKIP.
|
- Quiet periods should mostly be SKIP.
|
||||||
|
- If your line is only a plain rover status restatement ("X is docked", "Y is on carpet"), SKIP.
|
||||||
|
|
||||||
Anti-repeat:
|
Anti-repeat:
|
||||||
- Check prior assistant lines before posting.
|
- Check prior assistant lines before posting.
|
||||||
@@ -72,6 +75,7 @@ Anti-announcer:
|
|||||||
- No roll-call summaries or bland state dumps.
|
- No roll-call summaries or bland state dumps.
|
||||||
- Do not tell people obvious updates about their own rover.
|
- Do not tell people obvious updates about their own rover.
|
||||||
- Anchor to one concrete thing (person, rover, or event) with one fresh angle.
|
- Anchor to one concrete thing (person, rover, or event) with one fresh angle.
|
||||||
|
- If there is fresh chat, anchor to chat first and use rover state as support, not the whole point.
|
||||||
|
|
||||||
Numeric policy:
|
Numeric policy:
|
||||||
- Never quote counters, percentages, timers, or activity_score.
|
- Never quote counters, percentages, timers, or activity_score.
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||||
<title>Multi Roomba Rover</title>
|
<title>Multi Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-DKDSGdkZ.js"></script>
|
<script type="module" crossorigin src="/assets/index-CMnGNe44.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-DzeZhrlZ.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-DzeZhrlZ.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const ACTIVITY_WINDOW_MS = 60000;
|
|||||||
const ACTIVITY_BUCKET_MS = 1000;
|
const ACTIVITY_BUCKET_MS = 1000;
|
||||||
const ACTIVITY_SCORE_WINDOW_MS = 30000;
|
const ACTIVITY_SCORE_WINDOW_MS = 30000;
|
||||||
const SELF_TALK_WINDOW_MS = 30 * 60 * 1000;
|
const SELF_TALK_WINDOW_MS = 30 * 60 * 1000;
|
||||||
const MAX_CONTEXT_EVENTS = 10;
|
const MAX_CONTEXT_EVENTS = 6;
|
||||||
const MAX_RUN_HISTORY = 30;
|
const MAX_RUN_HISTORY = 30;
|
||||||
const MAX_ROVER_EVENTS = 400;
|
const MAX_ROVER_EVENTS = 400;
|
||||||
const POST_COOLDOWN_MS = 10000;
|
const POST_COOLDOWN_MS = 10000;
|
||||||
@@ -762,13 +762,6 @@ function buildSnapshot() {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
const hasRecentChat = eventStream.some((event) => event.type === 'chat');
|
const hasRecentChat = eventStream.some((event) => event.type === 'chat');
|
||||||
if (!hasRecentChat) {
|
|
||||||
eventStream.push({
|
|
||||||
type: 'snapshot',
|
|
||||||
reason: 'chat_quiet',
|
|
||||||
rovers,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
const goal = getCommunityGoal();
|
const goal = getCommunityGoal();
|
||||||
const goalTextRaw = goal?.text ? String(goal.text).trim() : '';
|
const goalTextRaw = goal?.text ? String(goal.text).trim() : '';
|
||||||
@@ -1025,7 +1018,7 @@ async function generateCommentary(messages) {
|
|||||||
stream: false,
|
stream: false,
|
||||||
keep_alive: -1,
|
keep_alive: -1,
|
||||||
options: {
|
options: {
|
||||||
temperature: 0.45,
|
temperature: 0.5,
|
||||||
top_p: 0.9,
|
top_p: 0.9,
|
||||||
},
|
},
|
||||||
messages,
|
messages,
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export function ChatIdentity({ message }) {
|
|||||||
{displayName(message)}
|
{displayName(message)}
|
||||||
</span>
|
</span>
|
||||||
{isBot ? (
|
{isBot ? (
|
||||||
<span className="rounded bg-emerald-900/60 px-1 text-[0.65rem] font-semibold uppercase tracking-wide text-emerald-200">
|
<span className="rounded bg-emerald-900/60 px-1 text-[0.65rem] font-semibold uppercase tracking-wide text-white">
|
||||||
bot
|
bot
|
||||||
</span>
|
</span>
|
||||||
) : null}
|
) : null}
|
||||||
|
|||||||
Reference in New Issue
Block a user