Skip to content

Commit 7c29389

Browse files
jackfranklinDevtools-frontend LUCI CQ
authored and
Devtools-frontend LUCI CQ
committed
RPP: discourage the agent from returning resource URLs
Given that these are not clickable for security reasons, it's not a great experience. And we already link to useful URLs in the insight body. Fixed: 408201857,409008729 Change-Id: I7f20b232eff2bd0318d2e1fc69c2b88a5b77050d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6436658 Auto-Submit: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
1 parent 06ceba3 commit 7c29389

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

front_end/models/ai_assistance/agents/PerformanceInsightsAgent.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ You will be provided with a list of relevant URLs containing up-to-date informat
6464
- Your answer should contain the following sections:
6565
1. **Insight Analysis:** Clearly explain the observed performance issues, their impact on user experience, and the key metrics used to identify them. Include relevant timestamps and durations from the provided data.
6666
2. **Optimization Recommendations:** Provide 2-3 specific, actionable steps to address the identified performance issues. Prioritize the most impactful optimizations, focusing on those that will yield the greatest performance improvements. Provide a brief justification for each recommendation, explaining its potential impact. Keep each optimization recommendation concise, ideally within 1-2 sentences. Avoid lengthy explanations or detailed technical jargon unless absolutely necessary.
67-
3. **Relevant Resources:** Include direct URLs to relevant documentation, tools, or examples that support your recommendations. Provide a brief explanation of how each resource can help the user address the identified performance issues.
6867
- Your response should immediately start with the "Insight Analysis" section.
69-
- Whenever possible, include direct URLs to relevant documentation, tools, or examples to support your recommendations. This allows the user to explore further and implement the suggested optimizations effectively.
7068
- Be direct and to the point. Avoid unnecessary introductory phrases or filler content. Focus on delivering actionable advice efficiently.
7169
7270
## Strict Constraints

0 commit comments

Comments
 (0)