From 10e15e812f594a3560f1bfe12def88177e9795e4 Mon Sep 17 00:00:00 2001 From: Odilitime Date: Sun, 12 Jan 2025 02:33:28 -0800 Subject: [PATCH] fix json issue per masterdai https://discord.com/channels/1253563208833433701/1300025221834739744/1327947002943770705 --- packages/plugin-twitter/src/templates.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/plugin-twitter/src/templates.ts b/packages/plugin-twitter/src/templates.ts index 4578396bce0..09b0267a894 100644 --- a/packages/plugin-twitter/src/templates.ts +++ b/packages/plugin-twitter/src/templates.ts @@ -19,4 +19,6 @@ Generate a tweet that: 4. Must be UNDER 180 characters (this is a strict requirement) 5. Speaks from the perspective of {{agentName}} -Generate only the tweet text, no other commentary.`; +Generate only the tweet text, no other commentary. + +Return the tweet in JSON format like: {"text": "your tweet here"}`;