Cloud Shell surface logging fix (#5364)

This commit is contained in:
owenofbrien
2025-08-04 11:48:46 -05:00
committed by GitHub
parent cdbe26b811
commit 16d29e2d6f

View File

@@ -235,7 +235,11 @@ export class ClearcutLogger {
}
logStartSessionEvent(event: StartSessionEvent): void {
const surface = process.env.SURFACE || 'SURFACE_NOT_SET';
const surface =
process.env.CLOUD_SHELL === 'true'
? 'CLOUD_SHELL'
: process.env.SURFACE || 'SURFACE_NOT_SET';
const data = [
{
gemini_cli_key: EventMetadataKey.GEMINI_CLI_START_SESSION_MODEL,