removed redundant extra copies of GEMINI_CLI_START_SESSION_VERTEX_API_ENABLED from start_session events

This commit is contained in:
Owen Obrien
2025-09-12 15:13:44 -05:00
parent c31e37b30e
commit 77ed1428b7
2 changed files with 10 additions and 10 deletions

View File

@@ -316,6 +316,14 @@ export class CoreToolScheduler {
currentCall.status === 'error' ||
currentCall.status === 'cancelled'
) {
/*
if (currentCall.status === 'cancelled') {
currentCall.outcome = ToolConfirmationOutcome.Cancel;
}
if (currentCall.status === 'error') {
currentCall.outcome = ToolConfirmationOutcome.Cancel;
}
*/
return currentCall;
}

View File

@@ -368,20 +368,10 @@ export class ClearcutLogger {
EventMetadataKey.GEMINI_CLI_START_SESSION_DEBUG_MODE_ENABLED,
value: event.debug_enabled.toString(),
},
{
gemini_cli_key:
EventMetadataKey.GEMINI_CLI_START_SESSION_VERTEX_API_ENABLED,
value: event.vertex_ai_enabled.toString(),
},
{
gemini_cli_key: EventMetadataKey.GEMINI_CLI_START_SESSION_MCP_SERVERS,
value: event.mcp_servers,
},
{
gemini_cli_key:
EventMetadataKey.GEMINI_CLI_START_SESSION_VERTEX_API_ENABLED,
value: event.vertex_ai_enabled.toString(),
},
{
gemini_cli_key:
EventMetadataKey.GEMINI_CLI_START_SESSION_TELEMETRY_ENABLED,
@@ -420,6 +410,7 @@ export class ClearcutLogger {
logNewPromptEvent(event: UserPromptEvent): void {
this.promptId = event.prompt_id;
console.log("Logging new prompt event: %s", this.promptId);
const data: EventValue[] = [
{
gemini_cli_key: EventMetadataKey.GEMINI_CLI_USER_PROMPT_LENGTH,
@@ -432,6 +423,7 @@ export class ClearcutLogger {
}
logToolCallEvent(event: ToolCallEvent): void {
console.log("Tool Call Decision: %s", event.decision);
const data: EventValue[] = [
{
gemini_cli_key: EventMetadataKey.GEMINI_CLI_TOOL_CALL_NAME,