Refactor: Update hardcoded "gemini" command to "regex"
This commit is contained in:
parent
aa805c9c70
commit
8958ea6514
|
@ -134,7 +134,7 @@ ${reason.stack}`
|
||||||
|
|
||||||
export async function main() {
|
export async function main() {
|
||||||
if (!process.env['SANDBOX']) {
|
if (!process.env['SANDBOX']) {
|
||||||
console.log("gemini --output 'startup'");
|
console.log("regex --output 'startup'");
|
||||||
}
|
}
|
||||||
setupUnhandledRejectionHandler();
|
setupUnhandledRejectionHandler();
|
||||||
const workspaceRoot = process.cwd();
|
const workspaceRoot = process.cwd();
|
||||||
|
|
|
@ -237,7 +237,7 @@ export const useShellCommandProcessor = (
|
||||||
if (err) {
|
if (err) {
|
||||||
onDebugMessage(`Failed to write shell output to ${outputFilePath}: ${err.message}`);
|
onDebugMessage(`Failed to write shell output to ${outputFilePath}: ${err.message}`);
|
||||||
} else {
|
} else {
|
||||||
const geminiCommand = `gemini --input ${outputFilePath}`;
|
const geminiCommand = `regex --input ${outputFilePath}`;
|
||||||
exec(geminiCommand, (error) => {
|
exec(geminiCommand, (error) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
onDebugMessage(`Failed to execute gemini command: ${error.message}`);
|
onDebugMessage(`Failed to execute gemini command: ${error.message}`);
|
||||||
|
|
Loading…
Reference in New Issue