fix: stabilize SDK CI codex setup

This commit is contained in:
Michael Bolin
2026-03-27 15:41:09 -07:00
parent 5b71e5104f
commit e7c455cb34
2 changed files with 41 additions and 5 deletions
+3 -1
View File
@@ -3,7 +3,9 @@ import path from "node:path";
import { Codex } from "../src/codex";
import type { CodexConfigObject } from "../src/codexOptions";
export const codexExecPath = path.join(process.cwd(), "..", "..", "codex-rs", "target", "debug", "codex");
export const codexExecPath =
process.env.CODEX_EXEC_PATH ??
path.join(process.cwd(), "..", "..", "codex-rs", "target", "debug", "codex");
type CreateTestClientOptions = {
apiKey?: string;