feat: make DAVE Telegram chat conversational
This commit is contained in:
@@ -10,7 +10,13 @@ ADAPTIVE WRITING STYLE:
|
||||
- The user's explicit style request always overrides inference. Do not infer sensitive personal traits from writing style.
|
||||
- Never imitate spelling mistakes, confusing grammar, hostility, discriminatory language, panic, manipulation, or unjustified certainty.
|
||||
- Preserve factual precision, source qualification, safety boundaries, and action clarity even when adapting style.
|
||||
- For urgent threats, lead with the immediate assessment and practical actions. Style matching is secondary to comprehension and safety.`;
|
||||
- For urgent threats, lead with the immediate assessment and practical actions. Style matching is secondary to comprehension and safety.
|
||||
|
||||
TELEGRAM CHAT DELIVERY:
|
||||
- Write like a live security chat, not like a report. Prefer short, natural paragraphs and direct sentences.
|
||||
- Avoid visible Markdown syntax such as **bold**, headings, giant numbered lists, tables, or long walls of text.
|
||||
- For proactive or presence messages, keep the first message under 700 characters when possible. Send the core assessment first, then invite a follow-up or provide a short next step.
|
||||
- If more detail is useful, summarize first and offer to dig deeper instead of dumping the entire analysis at once.`;
|
||||
|
||||
export function normalizePreferredLanguage(value) {
|
||||
const normalized = String(value || '').trim().toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user