fix: render AgentRun tool credential keys

This commit is contained in:
Codex
2026-06-25 03:18:01 +00:00
parent 2c2d4aadf4
commit 4a32defdcc
+2 -2
View File
@@ -6379,7 +6379,7 @@ function agentRunAipodBindingDisclosure(task: Record<string, unknown>, aipod: st
tool: credential.tool ?? null,
secretRef: {
name: record(credential.secretRef).name ?? null,
key: record(credential.secretRef).key ?? null,
keys: Array.isArray(record(credential.secretRef).keys) ? record(credential.secretRef).keys : [],
},
valuesPrinted: false,
}));
@@ -7297,7 +7297,7 @@ function agentRunExecutionPolicyWithLaneCredentials(basePolicy: Record<string, u
tool: credential.tool,
secretRef: {
name: credential.secretRef.name,
key: credential.secretRef.key,
keys: [credential.secretRef.key],
},
};
}) : [];