This commit is contained in:
legop3
2026-02-25 04:46:51 -05:00
parent 965a27f3f2
commit 6c3ae17aeb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ If chat is not clearly tied to rover state, output SKIP.
Do not invent facts.
Use self-quieting:
- If self_talk_recent_5m >= 3, strongly prefer SKIP.
- If self_talk_recent_5m >= 1, strongly prefer SKIP.
- If seconds_since_last_bot_message is small, prefer SKIP unless the event is clearly significant.
Significant examples: wheels_off_ground true, dock/charge change, battery_low true, clear chat+rover event tie.
+2 -2
View File
@@ -264,7 +264,7 @@ function handleIncoming({ text, tts } = {}, socket, cb = () => {}) {
cb({ error: 'Slow down' });
return;
}
if (clean.length > 150) {
if (clean.length > 400) {
cb({ error: 'Message too long' });
return;
}
@@ -336,7 +336,7 @@ function sendExternalMessage({
}) {
const normalized = normalizeUserText(text);
const clean = normalized.trim();
if (!clean || clean.length > 256) {
if (!clean || clean.length > 400) {
throw new Error('Message invalid');
}
if (hasProfanity(clean)) {