Cloud Shell surface logging fix (#5364)
This commit is contained in:
parent
cdbe26b811
commit
16d29e2d6f
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue