Skip to content

Commit 10ef716

Browse files
jackfranklinDevtools-frontend LUCI CQ
authored andcommitted
Update ClientFeatures with PERFORMANCE_INSIGHTS_AGENT
Bug: 394552594 Change-Id: I125e1b8ae53d8f4a586b41ea6fc3d6dcd5ce56fa Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6262907 Auto-Submit: Jack Franklin <[email protected]> Commit-Queue: Jack Franklin <[email protected]> Reviewed-by: Alex Rudenko <[email protected]> Commit-Queue: Alex Rudenko <[email protected]>
1 parent e313d59 commit 10ef716

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

front_end/core/host/AidaClient.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ export enum ClientFeature {
128128
CHROME_FILE_AGENT = 9,
129129
// Chrome AI Patch Agent.
130130
CHROME_PATCH_AGENT = 12,
131+
// Chrome AI Assistance Performance Insights Agent.
132+
CHROME_PERFORMANCE_INSIGHTS_AGENT = 14,
131133
}
132134

133135
export enum UserTier {

front_end/panels/ai_assistance/agents/PerformanceInsightsAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class PerformanceInsightsAgent extends AiAgent<TimelineUtils.InsightAICon
8989

9090
override readonly type = AgentType.PERFORMANCE_INSIGHT;
9191
readonly preamble = preamble;
92-
readonly clientFeature = Host.AidaClient.ClientFeature.CHROME_PERFORMANCE_AGENT;
92+
readonly clientFeature = Host.AidaClient.ClientFeature.CHROME_PERFORMANCE_INSIGHTS_AGENT;
9393

9494
get userTier(): string|undefined {
9595
return 'TESTERS';

0 commit comments

Comments
 (0)