diff --git a/apps/server/src/git/Layers/ClaudeTextGeneration.ts b/apps/server/src/git/Layers/ClaudeTextGeneration.ts index a85ed3f90c..360024079d 100644 --- a/apps/server/src/git/Layers/ClaudeTextGeneration.ts +++ b/apps/server/src/git/Layers/ClaudeTextGeneration.ts @@ -95,7 +95,7 @@ const makeClaudeTextGeneration = Effect.gen(function* () { const runClaudeCommand = Effect.gen(function* () { const command = ChildProcess.make( - claudeSettings?.binaryPath ?? "claude", + claudeSettings?.binaryPath || "claude", [ "-p", "--output-format", diff --git a/apps/server/src/git/Layers/CodexTextGeneration.ts b/apps/server/src/git/Layers/CodexTextGeneration.ts index 2b16f675e5..d846b2e6ef 100644 --- a/apps/server/src/git/Layers/CodexTextGeneration.ts +++ b/apps/server/src/git/Layers/CodexTextGeneration.ts @@ -153,7 +153,7 @@ const makeCodexTextGeneration = Effect.gen(function* () { const reasoningEffort = modelSelection.options?.reasoningEffort ?? CODEX_GIT_TEXT_GENERATION_REASONING_EFFORT; const command = ChildProcess.make( - codexSettings?.binaryPath ?? "codex", + codexSettings?.binaryPath || "codex", [ "exec", "--ephemeral",