Add this BEFORE the dashboard section in api/index.php:

    } elseif ($parts[0] === 'ai-concierge') {
        require_once __DIR__ . '/controllers/ai_concierge.php';
        $ai = new AIConciergeController($db, $config);
        if ($request_method === 'POST') {
            echo json_encode($ai->handleQuery($json_data));
        } else {
            http_response_code(404);
            echo json_encode(['success' => false, 'message' => 'Endpoint not found']);
        }

