summaryrefslogtreecommitdiff
path: root/Omni/Agent
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-18 13:54:30 -0500
committerBen Sima <ben@bensima.com>2025-12-18 13:54:30 -0500
commit024461fcfb03981ccb474b2361d4b1a42586b5e5 (patch)
treef1623d11dfe528f36ed36ffa06309837bc0d14f3 /Omni/Agent
parentbd7724068938daa44dc74c28ab0aa5c45477bbfd (diff)
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
Diffstat (limited to 'Omni/Agent')
-rw-r--r--Omni/Agent/Telegram.hs27
1 files changed, 16 insertions, 11 deletions
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",
"",