Merge pull request #865 from pikasTech/fix/861-tool-credential-keys

修正 AgentRun tool credential SecretRef keys 渲染
This commit is contained in:
Lyon
2026-06-25 11:18:29 +08:00
committed by GitHub
+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],
},
};
}) : [];