@php use App\Models\OpenAIGenerator; use Illuminate\Support\Str; @endphp @php $openAIGenerators = OpenAIGenerator::query() ->where('active', true) ->get() ->filter(function ($item) { return !Str::startsWith($item->slug, 'ai_'); }) ->groupBy('filters') ->filter(function ($item, $key) { return $key; }); @endphp
@foreach ($openAIGenerators as $step => $items)
@foreach ($items as $generator)
@endforeach
@endforeach {{ __('Save') }}