From cf484434e43773c469c78c1e6bf332080843b52f Mon Sep 17 00:00:00 2001 From: metakai1 Date: Wed, 1 Jan 2025 13:13:54 -0700 Subject: [PATCH] Fix bug in plugin-bootstrap/src/evaluators/facts.ts {{user1}} should be {{user2}} : ------- in factEvaluator, in the examples template, {{user1}} should be {{user2}} instead { user: "{{user1}}", content: { text: "Which city?" }, }, { user: "{{user2}}", content: { text: "Oakland" }, }, { user: "{{user1}}", content: { text: "Oh, I've never been there, but I know it's in California", }, } --- packages/plugin-bootstrap/src/evaluators/fact.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-bootstrap/src/evaluators/fact.ts b/packages/plugin-bootstrap/src/evaluators/fact.ts index 70b5b450607..b2ad61e7d24 100644 --- a/packages/plugin-bootstrap/src/evaluators/fact.ts +++ b/packages/plugin-bootstrap/src/evaluators/fact.ts @@ -162,7 +162,7 @@ None`, }, }, ] as ActionExample[], - outcome: `{ "claim": "{{user1}} is from Oakland", "type": "fact", "in_bio": false, "already_known": false },`, + outcome: `{ "claim": "{{user2}} is from Oakland", "type": "fact", "in_bio": false, "already_known": false },`, }, { context: `Actors in the scene: