From 49ba4ed49cb112aeddd532fcc1adeed7fb7b0fe8 Mon Sep 17 00:00:00 2001 From: Max Nordlund Date: Sun, 11 May 2025 17:33:49 +0200 Subject: [PATCH] Only include diagnostic instruction once (#29975) Instead of once per diagnostic error. Release Notes: - N/A --- assets/prompts/content_prompt.hbs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/prompts/content_prompt.hbs b/assets/prompts/content_prompt.hbs index c029f84b24..e601e6dc63 100644 --- a/assets/prompts/content_prompt.hbs +++ b/assets/prompts/content_prompt.hbs @@ -49,10 +49,9 @@ And here's the section to rewrite based on that prompt again for reference: {{#if diagnostic_errors}} -{{#each diagnostic_errors}} - Below are the diagnostic errors visible to the user. If the user requests problems to be fixed, use this information, but do not try to fix these errors if the user hasn't asked you to. +{{#each diagnostic_errors}} {{line_number}} {{error_message}}