Skip to content

Commit

Permalink
Merge pull request elizaOS#2196 from elizaOS/odilitime-patch-1
Browse files Browse the repository at this point in the history
fix(plugin-twitter): change prompt to ensure it returns json
  • Loading branch information
odilitime authored Jan 12, 2025
2 parents 59cf541 + 10e15e8 commit 7df280d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin-twitter/src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"}`;

0 comments on commit 7df280d

Please sign in to comment.