feat: add role-specific statistics to telemetry and UI (cont. #15234) (#18824)

Co-authored-by: Yuna Seol <yunaseol@google.com>
This commit is contained in:
Yuna Seol
2026-02-17 12:32:30 -05:00
committed by GitHub
parent 14aabbbe8b
commit 8aca3068cf
51 changed files with 826 additions and 20 deletions
@@ -25,6 +25,7 @@ import {
type GeminiChat,
type Config,
type MessageBus,
LlmRole,
} from '@google/gemini-cli-core';
import {
SettingScope,
@@ -588,7 +589,8 @@ describe('Session', () => {
}),
]),
expect.anything(),
expect.anything(),
expect.any(AbortSignal),
LlmRole.MAIN,
);
});
@@ -35,6 +35,7 @@ import {
startupProfiler,
Kind,
partListUnionToString,
LlmRole,
} from '@google/gemini-cli-core';
import * as acp from '@agentclientprotocol/sdk';
import { AcpFileSystemService } from './fileSystemService.js';
@@ -493,6 +494,7 @@ export class Session {
nextMessage?.parts ?? [],
promptId,
pendingSend.signal,
LlmRole.MAIN,
);
nextMessage = null;