mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Adds centralized support to log slash commands + sub commands (#5128)
This commit is contained in:
@@ -163,6 +163,16 @@ export enum EventMetadataKey {
|
||||
|
||||
// Logs the type of loop detected.
|
||||
GEMINI_CLI_LOOP_DETECTED_TYPE = 38,
|
||||
|
||||
// ==========================================================================
|
||||
// Slash Command Event Keys
|
||||
// ===========================================================================
|
||||
|
||||
// Logs the name of the slash command.
|
||||
GEMINI_CLI_SLASH_COMMAND_NAME = 41,
|
||||
|
||||
// Logs the subcommand of the slash command.
|
||||
GEMINI_CLI_SLASH_COMMAND_SUBCOMMAND = 42,
|
||||
}
|
||||
|
||||
export function getEventMetadataKey(
|
||||
|
||||
Reference in New Issue
Block a user