Skip to content

Commit 68f46c1

Browse files
jackfranklinDevtools-frontend LUCI CQ
authored andcommitted
AI: add insightsEnabled param to HostConfig
Backend CL: crrev.com/c/6243415 Bug: 394552594 Change-Id: I4d12b875de20561d6151c768925083c4758a4c63 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6243957 Commit-Queue: Jack Franklin <[email protected]> Reviewed-by: Alex Rudenko <[email protected]> Auto-Submit: Jack Franklin <[email protected]> Commit-Queue: Alex Rudenko <[email protected]>
1 parent a54d428 commit 68f46c1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

front_end/core/root/Runtime.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ export interface HostConfigAiAssistancePerformanceAgent {
369369
temperature: number;
370370
enabled: boolean;
371371
userTier: string;
372+
// Introduced in crrev.com/c/6243415
373+
insightsEnabled?: boolean;
372374
}
373375

374376
export interface HostConfigAiAssistanceFileAgent {

front_end/testing/EnvironmentHelpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ export function getGetHostConfigStub(config: Root.Runtime.HostConfig): sinon.Sin
546546
modelId: '',
547547
temperature: -1,
548548
enabled: false,
549+
insightsEnabled: false,
549550
...config.devToolsAiAssistancePerformanceAgent,
550551
} as Root.Runtime.HostConfigAiAssistancePerformanceAgent,
551552
devToolsImprovedWorkspaces: {

0 commit comments

Comments
 (0)