import { fetchRetirementPolicy } from '../src/services/ai.service'

async function main() {
  console.log('Calling AI...')
  const result = await fetchRetirementPolicy()
  console.log('maleRetireAge:', result.maleRetireAge)
  console.log('femaleRetireAge:', result.femaleRetireAge)
  console.log('femaleWorkerAge:', result.femaleWorkerAge)
  console.log('content length:', result.content.length)
  console.log('content preview:', result.content.slice(0, 500))
}

main().catch(err => console.error('Error:', err.message))
