Skip to content

Commit f16b97e

Browse files
Samiya CaurDevtools-frontend LUCI CQ
authored andcommitted
Update prompt suggestions for drjones entrypoints
Bug: 374270030 Change-Id: Ia0a9eaa01ebd31f6490c2d47af5b43e7d4da9e88 Fixed: 374270030 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5942382 Auto-Submit: Samiya Caur <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]> Commit-Queue: Samiya Caur <[email protected]> Reviewed-by: Nikolay Vitkov <[email protected]>
1 parent 417c364 commit f16b97e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

front_end/panels/freestyler/components/FreestylerChatUi.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -975,15 +975,21 @@ export class FreestylerChatUi extends HTMLElement {
975975
];
976976
case AgentType.DRJONES_FILE:
977977
return [
978-
'What are the key functions in this file and what are they doing?',
978+
'What does this script do?',
979+
'Is the script optimized for performance?',
980+
'Does the script handle user input safely?',
979981
];
980982
case AgentType.DRJONES_NETWORK_REQUEST:
981983
return [
982-
'Why is this network request taking longer to complete?',
984+
'Why is this network request taking so long?',
985+
'Are there any security headers present?',
986+
'Why is the request failing?',
983987
];
984988
case AgentType.DRJONES_PERFORMANCE:
985989
return [
986-
'Is this item on the critical rendering path?',
990+
'Identify performance issues in this call stack',
991+
'Where is most of the time being spent in this call stack?',
992+
'How can I reduce the time of this call stack?',
987993
];
988994
}
989995
};

0 commit comments

Comments
 (0)