From 09f36dd94b08f7687faab048a06b73fee12edbe3 Mon Sep 17 00:00:00 2001 From: Sweaterdog Date: Fri, 14 Mar 2025 12:23:19 -0700 Subject: [PATCH] Update main.js Fixed unnecessary spaces and comments --- main.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/main.js b/main.js index 058131b..5fc4967 100644 --- a/main.js +++ b/main.js @@ -39,24 +39,16 @@ async function main() { const args = parseArguments(); const profiles = getProfiles(args); console.log(profiles); - const { load_memory, init_message } = settings; - // Start each agent in turn for (let i = 0; i < profiles.length; i++) { const agent_process = new AgentProcess(); const profile = readFileSync(profiles[i], 'utf8'); const agent_json = JSON.parse(profile); - mainProxy.registerAgent(agent_json.name, agent_process); - agent_process.start(profiles[i], load_memory, init_message, i, args.task_path, args.task_id); - - // A small delay so we don't start them all at once await new Promise(resolve => setTimeout(resolve, 1000)); } - - // NEW: Finally, kick off TTS (will only run if tts_transcription is true in settings) initTTS(); } @@ -65,4 +57,4 @@ try { } catch (error) { console.error('An error occurred:', error); process.exit(1); -} \ No newline at end of file +}