Skip to content

Commit 0e2f967

Browse files
AlinaVarkkiDevtools-frontend LUCI CQ
authored andcommitted
[RPP][AI] Add a condition to the Auto Labelling Agent prompt
It sometimes returns multi-line responses, let's try to prevent it. Bug:None Change-Id: I2d1044c3f230cb31377441b9bb9a063aa179e5ca Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6414390 Commit-Queue: Alina Varkki <[email protected]> Commit-Queue: Jack Franklin <[email protected]> Auto-Submit: Alina Varkki <[email protected]> Reviewed-by: Jack Franklin <[email protected]>
1 parent c77a395 commit 0e2f967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front_end/models/ai_assistance/agents/PerformanceAnnotationsAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ Generate a concise label (max 60 chars, single line) describing the *user-visibl
3838
- Base the description only on the information present within the call tree data.
3939
- Prioritize brevity.
4040
- Only include third-party script names if their identification is highly confident.
41-
- Always use "responsiveness" rather than "user interaction responsiveness".
41+
- Very important: Only output the 60 character label text, your response will be used in full to show to the user as an annotation in the timeline.
4242
`;

0 commit comments

Comments
 (0)