Cloud Shell surface logging fix (#5364)
This commit is contained in:
parent
94b7b402c5
commit
83a04c4755
|
@ -235,7 +235,11 @@ export class ClearcutLogger {
|
||||||
}
|
}
|
||||||
|
|
||||||
logStartSessionEvent(event: StartSessionEvent): void {
|
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 = [
|
const data = [
|
||||||
{
|
{
|
||||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_START_SESSION_MODEL,
|
gemini_cli_key: EventMetadataKey.GEMINI_CLI_START_SESSION_MODEL,
|
||||||
|
|
Loading…
Reference in New Issue