mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
Log extension ID with tool call/slash command invocation (#12254)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -564,6 +564,12 @@ export class ClearcutLogger {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (event.extension_id) {
|
||||
data.push({
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_EXTENSION_ID,
|
||||
value: event.extension_id,
|
||||
});
|
||||
}
|
||||
|
||||
const logEvent = this.createLogEvent(EventNames.TOOL_CALL, data);
|
||||
this.enqueueLogEvent(logEvent);
|
||||
@@ -779,6 +785,13 @@ export class ClearcutLogger {
|
||||
});
|
||||
}
|
||||
|
||||
if (event.extension_id) {
|
||||
data.push({
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_EXTENSION_ID,
|
||||
value: event.extension_id,
|
||||
});
|
||||
}
|
||||
|
||||
this.enqueueLogEvent(this.createLogEvent(EventNames.SLASH_COMMAND, data));
|
||||
this.flushIfNeeded();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user