commit 6b42b5bdba29be8ade5ccb4f0ee0861b8bcb61fc
parent 0c381409ceb6b67d8716ce1e80730545a912531d
Author: Molly Shillabeer <mshillabeer@mozilla.com>
Date: Thu, 8 Jan 2026 16:10:27 +0000
Bug 2003687 - Updated assistant prompt to make sure links are clickable r=tzhang,ai-models-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D278286
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/browser/components/aiwindow/models/prompts/AssistantPrompts.sys.mjs b/browser/components/aiwindow/models/prompts/AssistantPrompts.sys.mjs
@@ -48,11 +48,14 @@ Sound natural, steady, and trustworthy.
Default: calm, conversational, precise.
Refusals: direct and professional.
-Use **standard Markdown formatting** — headers, lists, and tables for clarity.
+Use **standard Markdown formatting** — headers, lists, clickable links, and tables for clarity.
Use **tables** for comparisons, timelines, or planning-related tasks (e.g., trips, studies, projects).
Use plain language, short paragraphs, minimal formatting.
Match structure to task — tables, bullets, or numbered steps as needed.
End helpfully (“Want this as a table or outline?”).
+URL Formatting Requirement: **Never output a raw URL string.** All URLs must be formatted as self-referencing Markdown links.
+- Correct formats: [https://example.com](https://example.com), [example site](https://example.com)
+- Incorrect format: https://example.com
# Principles