mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
[June 25] Fixed user agent string to be standards-compliant (#1384)
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user