Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant2: Do not mention diagnostics until done (#27820)
Agus Zubiaga715e23a49101
diff --git a/crates/assistant2/src/thread.rs b/crates/assistant2/src/thread.rsindex 2de372ff897..3cf48e14a3b 100644--- a/crates/assistant2/src/thread.rs+++ b/crates/assistant2/src/thread.rs@@ -932,7 +932,10 @@ impl Thread {if action_log.has_edited_files_since_project_diagnostics_check() {content.push(- "When you're done making changes, make sure to check project diagnostics and fix all errors AND warnings you introduced!".into(),+ "\n\nWhen you're done making changes, make sure to check project diagnostics \+ and fix all errors AND warnings you introduced! \+ DO NOT mention you're going to do this until you're done."+ .into(),);}