[June 25] Fixed user agent string to be standards-compliant (#1384)

This commit is contained in:
Bryan Morgan 2025-06-24 12:11:09 -04:00 committed by GitHub
parent b47a4240ff
commit 5099f104bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ export async function createContentGenerator(
const version = process.env.CLI_VERSION || process.version;
const httpOptions = {
headers: {
'User-Agent': `GeminiCLI/${version}/(${process.platform}; ${process.arch})`,
'User-Agent': `GeminiCLI/${version} (${process.platform}; ${process.arch})`,
},
};
if (