Skip to content

Commit 7df280d

Browse files
authored
Merge pull request elizaOS#2196 from elizaOS/odilitime-patch-1
fix(plugin-twitter): change prompt to ensure it returns json
2 parents 59cf541 + 10e15e8 commit 7df280d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/plugin-twitter/src/templates.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ Generate a tweet that:
1919
4. Must be UNDER 180 characters (this is a strict requirement)
2020
5. Speaks from the perspective of {{agentName}}
2121
22-
Generate only the tweet text, no other commentary.`;
22+
Generate only the tweet text, no other commentary.
23+
24+
Return the tweet in JSON format like: {"text": "your tweet here"}`;

0 commit comments

Comments
 (0)