@extends('layouts.admin') {{-- Or your main admin layout --}} @section('title', 'AI Models') @section('header_title', 'Manage AI Models') @section('content')

AI Models List

Add New Model
@include('webpilotai::admin.partials._session_messages') @if($aiModels->isEmpty())

No AI Models configured.

Get started by adding a new AI model!

@else
@foreach ($aiModels as $model) @endforeach
Name Provider Identifier Status Premium Actions
{{ $model->name }}
@if($model->description)
{{ Str::limit($model->description, 40) }}
@endif
{{ $model->provider }}
{{ $model->identifier }}
@if ($model->is_active) Active @else Inactive @endif @if ($model->is_premium) Yes @else No @endif Edit
@csrf @method('DELETE')
@if ($aiModels->hasPages())
{{ $aiModels->links() }} {{-- Ensure your app is configured for Tailwind pagination views --}}
@endif @endif
@endsection @push('scripts') {{-- Add any specific scripts for this page here if needed --}} @endpush @push('styles') @endpush