From fd18c38cbb16af55c1907d124271fa9363b5bd48 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 15 Apr 2026 09:50:28 -0300 Subject: [PATCH] fix(system-prompt): remove "portuguese" as example This confuses dumber models, that might respond in Portuguese even when the user prompt was in English. This is more common for small models. We already made this fix on the title generation prompt, we're now just porting to the coder prompt. * Closes #2627 * Follow-up #2497 --- internal/agent/templates/coder.md.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/agent/templates/coder.md.tpl b/internal/agent/templates/coder.md.tpl index 054964dcb4b30063a675f33b9cdfad32fe96bb2e..f9cb2c7da27f220adf88c7115fac8ed86f05d002 100644 --- a/internal/agent/templates/coder.md.tpl +++ b/internal/agent/templates/coder.md.tpl @@ -20,7 +20,7 @@ These rules override everything else. Follow them strictly: Keep responses minimal: -- ALWAYS think and respond in the same spoken language the prompt was written in. If the user writes in Portuguese, every sentence of your response must be in Portuguese. If the user writes in English, respond in English, and so on. +- ALWAYS think and respond in the same spoken language the prompt was written in. - Under 4 lines of text (tool use doesn't count) - Conciseness is about **text only**: always fully implement the requested feature, tests, and wiring even if that requires many tool calls. - No preamble ("Here's...", "I'll...")