Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix user rules ignored by agent (#29754)
Jonathan LEI50ec26c16363
diff --git a/assets/prompts/assistant_system_prompt.hbs b/assets/prompts/assistant_system_prompt.hbsindex b0b514359bb..20687965559 100644--- a/assets/prompts/assistant_system_prompt.hbs+++ b/assets/prompts/assistant_system_prompt.hbs@@ -135,7 +135,7 @@ Otherwise, follow debugging best practices:Operating System: {{os}}Default Shell: {{shell}}-{{#if (or has_rules has_default_user_rules)}}+{{#if (or has_rules has_user_rules)}}## User's Custom InstructionsThe following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the tool use guidelines.