mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 15:10:59 -07:00
removed redundant extra copies of GEMINI_CLI_START_SESSION_VERTEX_API_ENABLED from start_session events
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user