on main help sign in
fix(system-prompt): tell the model to respond in the prompt spoken language
commit2325de7aca97f98dafdda5832db4637328788210 authorAndrey Nering <andreynering@users.noreply.github.com> dateSun 8 Mar 2026, 17:55 (7 months ago) parentd89120c
2 files changed+6−1
Taskfile.yaml+4 internal/agent/templates/coder.md.tpl+2−1
Taskfile.yaml+4
@@ -49,6 +49,8 @@ tasks:
4949 sources:
5050 - ./**/*.go
5151 - go.mod
52+ - internal/agent/**/*.md
53+ - internal/agent/**/*.md.tpl
5254 generates:
5355 - crush{{exeExt}}
5456
@@ -120,6 +122,8 @@ tasks:
120122 sources:
121123 - ./**/*.go
122124 - go.mod
125+ - internal/agent/**/*.md
126+ - internal/agent/**/*.md.tpl
123127
124128 profile:cpu:
125129 desc: 10s CPU profile
internal/agent/templates/coder.md.tpl+2−1
@@ -20,6 +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.
2324- Under 4 lines of text (tool use doesn't count)
2425- Conciseness is about **text only**: always fully implement the requested feature, tests, and wiring even if that requires many tool calls.
2526- No preamble ("Here's...", "I'll...")
@@ -249,7 +250,7 @@ Common errors:
249250<memory_instructions>
250251Memory files store commands, preferences, and codebase info. Update them when you discover:
251252- Build/test/lint commands
252−- Code style preferences
253+- Code style preferences
253254- Important codebase patterns
254255- Useful project information
255256</memory_instructions>