on main help sign in
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

commitfd18c38cbb16af55c1907d124271fa9363b5bd48 authorAndrey Nering <andreynering@users.noreply.github.com> dateWed 15 Apr 2026, 09:50 (6 months ago) parenta210bfb
1 file changed+1−1
internal/agent/templates/coder.md.tpl+1−1
internal/agent/templates/coder.md.tpl+1−1
@@ -20,7 +20,7 @@ These rules override everything else. Follow them strictly:
2020
2121<communication_style>
2222Keep responses minimal:
23−- 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.
23+- ALWAYS think and respond in the same spoken language the prompt was written in.
2424- Under 4 lines of text (tool use doesn't count)
2525- Conciseness is about **text only**: always fully implement the requested feature, tests, and wiring even if that requires many tool calls.
2626- No preamble ("Here's...", "I'll...")