From f361ad321fd5d693125478e1cdbfb92a1ac5d5ce Mon Sep 17 00:00:00 2001 From: xm0onh Date: Tue, 24 Dec 2024 16:31:12 -0800 Subject: [PATCH] Run prettier --- .../agent/src/services/agents/nodes/responseGenerationNode.ts | 1 - auto-kol/agent/src/services/twitter/api.ts | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/auto-kol/agent/src/services/agents/nodes/responseGenerationNode.ts b/auto-kol/agent/src/services/agents/nodes/responseGenerationNode.ts index b11e736..56ab42f 100644 --- a/auto-kol/agent/src/services/agents/nodes/responseGenerationNode.ts +++ b/auto-kol/agent/src/services/agents/nodes/responseGenerationNode.ts @@ -25,7 +25,6 @@ export const createResponseGenerationNode = (config: WorkflowConfig) => { author: tweet.author_username, }); - if (!workflowState) { item.workflowState = { autoFeedback: [] }; } else if (!workflowState.autoFeedback) { diff --git a/auto-kol/agent/src/services/twitter/api.ts b/auto-kol/agent/src/services/twitter/api.ts index dbef734..c77f4ba 100644 --- a/auto-kol/agent/src/services/twitter/api.ts +++ b/auto-kol/agent/src/services/twitter/api.ts @@ -57,9 +57,7 @@ export class ExtendedScraper extends Scraper { let retryCount = 0; while (!isLoggedIn && retryCount < maxRetries) { - logger.warn( - `Attempting to re-authenticate... (attempt ${retryCount + 1}/${maxRetries})`, - ); + logger.warn(`Attempting to re-authenticate... (attempt ${retryCount + 1}/${maxRetries})`); try { await this.initialize(); isLoggedIn = await this.isLoggedIn();