fix: stabilize SDK CI codex setup

This commit is contained in:
Michael Bolin
2026-03-27 16:09:01 -07:00
parent 5b71e5104f
commit 475d54fdd1
3 changed files with 120 additions and 12 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;