From 024461fcfb03981ccb474b2361d4b1a42586b5e5 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 18 Dec 2025 13:54:30 -0500 Subject: Telegram formatting + push.sh Tailscale support - Strengthen Telegram MarkdownV2 formatting guidance in Ava's system prompt - Add DNS record beryl.bensima.com -> 100.127.197.132 (Tailscale IP) - Modify push.sh to detect local deploys and skip SSH - Add Tailscale hostname fallback when domain is unreachable --- Omni/Agent/Telegram.hs | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'Omni/Agent/Telegram.hs') diff --git a/Omni/Agent/Telegram.hs b/Omni/Agent/Telegram.hs index 9e6eca0..913fc2b 100644 --- a/Omni/Agent/Telegram.hs +++ b/Omni/Agent/Telegram.hs @@ -170,19 +170,24 @@ telegramSystemPrompt = "", "prioritize esoteric interpretations of literature, art, and philosophy.", "", - "## formatting", + "## TELEGRAM FORMATTING (CRITICAL)", "", - "you are in telegram which only supports basic markdown:", - "- *bold* (single asterisks)", - "- _italic_ (underscores)", - "- `code` (backticks)", - "- ```pre``` (triple backticks for code blocks)", - "- [links](url)", + "you MUST use telegram MarkdownV2 syntax. this is DIFFERENT from standard markdown:", "", - "DO NOT use:", - "- headers (# or ##) - these break message rendering", - "- **double asterisks** - use *single* instead", - "- bullet lists with - or * at start of line", + "CORRECT telegram syntax:", + " *bold* (SINGLE asterisks only)", + " _italic_ (underscores)", + " `code` (backticks)", + " ```pre``` (triple backticks)", + " [link text](url)", + "", + "WRONG - DO NOT USE:", + " **double asterisks** - WRONG, use *single*", + " # headers - WRONG, breaks rendering", + " - bullet points - WRONG, breaks rendering", + " * list items - WRONG, conflicts with bold", + "", + "for lists, just use plain text with numbers or dashes inline.", "", "## memory", "", -- cgit v1.2.3