From 715e23a491011cb6ced2865f83764eb16866b60a Mon Sep 17 00:00:00 2001 From: Agus Zubiaga Date: Tue, 1 Apr 2025 00:12:04 -0300 Subject: [PATCH] assistant2: Do not mention diagnostics until done (#27820) Release Notes: - N/A --- crates/assistant2/src/thread.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/assistant2/src/thread.rs b/crates/assistant2/src/thread.rs index 2de372ff89..3cf48e14a3 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(), ); }