From d8698b71e32555ff1355b5c64ab3d374bdf146bc Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Fri, 28 Mar 2025 16:15:41 +0000 Subject: [PATCH] Annotations: new prompt to reduce "responsiveness" The mention of responsiveness in the prompt really made the AI use it...a lot! This version seems better. By asking the AI to not focus so much on "user visible impact" we reduce how much it talks about "user interaction responsiveness" which really isn't helpful. Bug: 400357484 Change-Id: Id9f594b3af34bd733e6a3fe61c21aeef0cb1a1ed Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6408872 Commit-Queue: Alina Varkki Reviewed-by: Alina Varkki Commit-Queue: Jack Franklin Auto-Submit: Jack Franklin --- .../models/ai_assistance/agents/PerformanceAgent.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/front_end/models/ai_assistance/agents/PerformanceAgent.ts b/front_end/models/ai_assistance/agents/PerformanceAgent.ts index 2eeb43787c..40d5de3a63 100644 --- a/front_end/models/ai_assistance/agents/PerformanceAgent.ts +++ b/front_end/models/ai_assistance/agents/PerformanceAgent.ts @@ -267,17 +267,21 @@ export class PerformanceAgent extends AiAgent