[June 25] Fixed user agent string to be standards-compliant (#1384)
This commit is contained in:
parent
b47a4240ff
commit
5099f104bc
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue