fix(cli): send gemini-cli version as mcp client version (#13407)

Co-authored-by: Taylor Mullen <ntaylormullen@google.com>
This commit is contained in:
David Soria Parra
2026-01-20 22:01:18 +00:00
committed by GitHub
parent 645e2ec041
commit b288f124b2
7 changed files with 72 additions and 16 deletions
+2
View File
@@ -451,6 +451,7 @@ export async function loadCliConfig(
workspaceDir: cwd,
enabledExtensionOverrides: argv.extensions,
eventEmitter: appEvents as EventEmitter<ExtensionEvents>,
clientVersion: await getVersion(),
});
await extensionManager.loadExtensions();
@@ -653,6 +654,7 @@ export async function loadCliConfig(
return new Config({
sessionId,
clientVersion: await getVersion(),
embeddingModel: DEFAULT_GEMINI_EMBEDDING_MODEL,
sandbox: sandboxConfig,
targetDir: cwd,