Merge branch 'kolbytn:main' into main

This commit is contained in:
Sweaterdog 2025-02-18 18:54:57 -08:00 committed by GitHub
commit 951395a836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -103,7 +103,8 @@ export class Agent {
} catch (error) {
// Ensure we're not losing error details
console.error('Agent start failed with error')
console.error(error)
console.error(error.message);
console.error(error.stack);
throw error; // Re-throw with preserved details
}

View file

@ -58,7 +58,8 @@ const argv = yargs(args)
await agent.start(argv.profile, argv.load_memory, argv.init_message, argv.count_id, argv.task_path, argv.task_id);
} catch (error) {
console.error('Failed to start agent process:');
console.error(error);
console.error(error.message);
console.error(error.stack);
process.exit(1);
}
})();