mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-20 11:00:40 -07:00
fix(core): propagate User-Agent header to setup-phase CodeAssist API calls (#19182)
This commit is contained in:
@@ -24,7 +24,11 @@ export async function createCodeAssistContentGenerator(
|
||||
authType === AuthType.COMPUTE_ADC
|
||||
) {
|
||||
const authClient = await getOauthClient(authType, config);
|
||||
const userData = await setupUser(authClient, config.getValidationHandler());
|
||||
const userData = await setupUser(
|
||||
authClient,
|
||||
config.getValidationHandler(),
|
||||
httpOptions,
|
||||
);
|
||||
return new CodeAssistServer(
|
||||
authClient,
|
||||
userData.projectId,
|
||||
|
||||
Reference in New Issue
Block a user