// Test the live decisions API directly async function testLiveDecisions() { try { console.log('๐Ÿงช Testing live decisions API...'); const response = await fetch('http://localhost:9001/api/automation/live-decisions'); console.log('๐Ÿ“Š Response status:', response.status); const text = await response.text(); if (text.startsWith('')) { console.log('โŒ Got error page instead of JSON'); console.log('Error details:', text.substring(0, 500)); } else { console.log('โœ… Got JSON response'); const data = JSON.parse(text); console.log('๐Ÿ“‹ Live decisions:', data); } } catch (error) { console.error('โŒ Error testing API:', error.message); } } testLiveDecisions();