diff --git a/packages/client-twitter/src/post.ts b/packages/client-twitter/src/post.ts index 8b787b36ec6..80b79f3ee76 100644 --- a/packages/client-twitter/src/post.ts +++ b/packages/client-twitter/src/post.ts @@ -504,7 +504,10 @@ export class TwitterPostClient { "twitter" ); - const topics = this.runtime.character.topics.join(", "); + const topics = this.runtime.character.topics + .sort(() => 0.5 - Math.random()) + .slice(0, 10) + .join(", ") const state = await this.runtime.composeState( {