<?php

namespace App\Core\Ai\Controllers;

use App\Controllers\BaseController;
use App\Core\Ai\Models\AiHistoryModel;

class AiHistoryController extends BaseController
{
    public function index()
    {
        return view('core/ai/index', [
            'title' => 'Historique IA',
            'requests' => (new AiHistoryModel())->orderBy('created_at', 'DESC')->findAll(100),
        ]);
    }
}
