fix: render AgentRun tool credential keys
This commit is contained in:
@@ -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],
|
||||
},
|
||||
};
|
||||
}) : [];
|
||||
|
||||
Reference in New Issue
Block a user