diff --git a/packages/client-twitter/src/post.ts b/packages/client-twitter/src/post.ts index da63212c75..d2b8c638a6 100644 --- a/packages/client-twitter/src/post.ts +++ b/packages/client-twitter/src/post.ts @@ -171,7 +171,6 @@ export class TwitterPostClient { if (postImmediately) { await this.generateNewTweet(); } - generateNewTweetLoop(); // Add check for ENABLE_ACTION_PROCESSING before starting the loop const enableActionProcessing = @@ -184,10 +183,11 @@ export class TwitterPostClient { error ); }); - generateNewTweetLoop(); } else { elizaLogger.log("Action processing loop disabled by configuration"); } + + generateNewTweetLoop(); } constructor(client: ClientBase, runtime: IAgentRuntime) {