export async function GET()

in conversational-assistant/app/api/tools/get_orders/route.ts [3:14]


export async function GET() {
  try {
    return new Response(JSON.stringify({ orders }), {
      status: 200
    })
  } catch (error) {
    console.error(error)
    return new Response(JSON.stringify({ error: 'Failed to fetch orders' }), {
      status: 500
    })
  }
}