mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 12:37:55 +01:00
chore(evals): remove added company credential comment
Keep the company helper executable source unchanged. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
57509a283b
commit
855b98e005
1 file changed
-1
@@ -40,7 +40,6 @@ export function deploymentSecretGuidance(text:string){
|
||||
&&!text.split(/[.!;\n]+|\bbut\b/i).some(clause=>/\b(?:I(?:['’]ve| have)?|we(?:['’]ve| have)?)\s+(?:already\s+)?(?:added|created|bound|configured)\b/i.test(clause))
|
||||
&&!text.split(/[.!;\n]+/).some(clause=>/\b(?:bind|assign|add)\b[^.!;\n]{0,45}\b(?:all agents|every agent|CEO|Riley)\b/i.test(clause)&&!/(?:do not|don.t|never|avoid)\s+(?:bind|assign|add)/i.test(clause));
|
||||
}
|
||||
/** A confirmation asks about the saved company binding, never the value itself. */
|
||||
export function companySecretQuestionHandoff(value:unknown,b:SecretQuestionBinding,status:"pending"|"answered"="pending"){
|
||||
const bound=boundSecretQuestion(value,b,status);if(!bound)return;
|
||||
const {row,question:q,questionSet:qs,text,payloadHash}=bound;
|
||||
|
||||
Reference in new issue
Block a user