fix: keep workload confirmations server-side

This commit is contained in:
Affaan Mustafa
2026-08-07 15:23:11 -04:00
parent d7c936a078
commit 467f1ea0c7
7 changed files with 20 additions and 37 deletions
-5
View File
@@ -78,10 +78,6 @@ function createSafeItoEnvironment(source = process.env, options = {}) {
}
}
if (options.includeWorkloadConfirmation) {
copyDefined(source, safe, "ITO_WORKLOAD_CONFIRMATION_TOKEN");
}
if (options.includeControls) {
for (const key of ECC_ITO_CONTROL_KEYS) {
copyDefined(source, safe, key);
@@ -106,7 +102,6 @@ function createSafeItoInvocationEnvironment(
includeItoRuntime: ITO_RUNTIME_COMMANDS.has(command),
includeItoApiKey: ["auth", "find", "status", "serve", "train", "workload-status", "workload-cancel", "workload-cleanup"].includes(command),
includeItoEvals: command === "evals",
includeWorkloadConfirmation: command === "serve" || command === "train",
});
}