mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Initialize geminiClient in noninteractive mode (#1222)
This commit is contained in:
committed by
GitHub
parent
8e7fa7e233
commit
43203926b8
@@ -169,9 +169,11 @@ async function loadNonInteractiveConfig(
|
|||||||
...settings.merged,
|
...settings.merged,
|
||||||
excludeTools: newExcludeTools,
|
excludeTools: newExcludeTools,
|
||||||
};
|
};
|
||||||
return await loadCliConfig(
|
const newConfig = await loadCliConfig(
|
||||||
nonInteractiveSettings,
|
nonInteractiveSettings,
|
||||||
extensions,
|
extensions,
|
||||||
config.getSessionId(),
|
config.getSessionId(),
|
||||||
);
|
);
|
||||||
|
await newConfig.getGeminiClient().initialize();
|
||||||
|
return newConfig;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user