// Test Memory Echo API async function testMemoryEcho() { const res = await fetch('http://localhost:3000/api/ai/echo'); const data = await res.json(); console.log('Memory Echo Response:', JSON.stringify(data, null, 2)); } testMemoryEcho();