mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-24 13:01:29 -07:00
fix(offload): add binary validation logging to remote worker
This commit is contained in:
@@ -45,6 +45,12 @@ export async function runWorker(args: string[]) {
|
||||
geminiBin = path.join(path.dirname(targetDir), 'main/node_modules/.bin/gemini');
|
||||
}
|
||||
|
||||
console.log(` - Gemini Bin: ${geminiBin} (Exists: ${fs.existsSync(geminiBin)})`);
|
||||
if (fs.existsSync(geminiBin)) {
|
||||
const versionCheck = spawnSync(geminiBin, ['--version'], { stdio: 'pipe' });
|
||||
console.log(` - Gemini Version: ${versionCheck.stdout.toString().trim() || 'Error fetching version'}`);
|
||||
}
|
||||
|
||||
// 2. Dispatch to Playbook
|
||||
switch (action) {
|
||||
case 'review':
|
||||
|
||||
Reference in New Issue
Block a user