From 78d36b08994b7fe216507fcc72a18d7b39e6d071 Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 4 Nov 2026 11:22:41 -0600 Subject: [PATCH] fix(evals): inspect rendered secret-question placeholder Co-Authored-By: Paperclip --- .../runner-e2e/chat-catalog-domains/external-secret-question.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runner-e2e/chat-catalog-domains/external-secret-question.ts b/tests/runner-e2e/chat-catalog-domains/external-secret-question.ts index bcab4a3d7d2..0bd6014710b 100644 --- a/tests/runner-e2e/chat-catalog-domains/external-secret-question.ts +++ b/tests/runner-e2e/chat-catalog-domains/external-secret-question.ts @@ -18,6 +18,6 @@ export function boundSecretQuestion(value: unknown, b: SecretQuestionBinding, st const q = qs.questions[0]!; if (q.answerMode !== "single_select" || !q.required || !q.options?.length) return; return { row: { ...row, id: row.id }, questionSet: qs, question: { ...q, options: q.options }, - text: [qs.title, qs.description, q.header, q.prompt, q.helpText, q.customAnswer?.enabled ? q.customAnswer.label : undefined, qs.submitLabel].filter(Boolean).join("\n"), + text: [qs.title, qs.description, q.header, q.prompt, q.helpText, q.customAnswer?.enabled ? q.customAnswer.label : undefined, q.customAnswer?.enabled ? q.customAnswer.placeholder : undefined, qs.submitLabel].filter(Boolean).join("\n"), payloadHash: createHash("sha256").update(JSON.stringify(row.payload)).digest("hex") }; }