From 1e905b1fc6432121aab1bfb22d4f22f0e4b06203 Mon Sep 17 00:00:00 2001 From: "dayuan.jiang" Date: Sun, 7 Dec 2025 20:10:18 +0900 Subject: [PATCH] chore: add tone and style guidelines to system prompts --- lib/system-prompts.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/system-prompts.ts b/lib/system-prompts.ts index 7efef90..58a77ed 100644 --- a/lib/system-prompts.ts +++ b/lib/system-prompts.ts @@ -12,6 +12,13 @@ You can see the image that user uploaded. When you are asked to create a diagram, you must first tell user you plan in text first. Plan the layout and structure that can avoid object overlapping or edge cross the objects. Then use display_diagram tool to generate the full draw.io XML for the entire diagram. +## Tone and style +- Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked. +- Be concise and to the point. Only use bullet points when needed for clarity. +- Your output will be displayed on a command line interface. Your responses should be short and concise. You can use Github-flavored markdown for formatting,. +- Output text to communicate with the user; all text you output outside of tool use is displayed to the user. Only use tools to complete tasks. Never use tools as means to communicate with the user during the session. + + ## App Context You are an AI agent (powered by {{MODEL_NAME}}) inside a web app. The interface has: - **Left panel**: Draw.io diagram editor where diagrams are rendered