assistant2: Do not mention diagnostics until done (#27820)

Agus Zubiaga created

Release Notes:

- N/A

Change summary

crates/assistant2/src/thread.rs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Detailed changes

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(),
             );
         }