@use(\App\Domains\Entity\Enums\EntityEnum) @extends('panel.layout.settings', ['layout' => 'wide']) @section('title', __('XAI Settings')) @section('titlebar_actions', '') @section('titlebar_subtitle', __('This API key is used for all AI-powered features, including AI Chat, Image Generation, and Content Writing')) @section('additional_css') @endsection @section('settings')

{{ __('XAI Settings') }}

@if ($app_is_demo)
@else

{{ __('You can enter as much API KEY as you want. Click "Enter" after each api key.') }}

{{ __('Please ensure that your XAI API key is fully functional and billing defined on your XAI account.') }}

{{ __('After Saving Setting, Click Here to Test Your Api Keys') }}
@php $xAiWordDrivers = \App\Domains\Entity\EntityStats::word() ->filterByEngine(\App\Domains\Engine\Enums\EngineEnum::X_AI) ->list(); $current_xai_model = EntityEnum::fromSlug(setting('xai_default_model', EntityEnum::GROK_2_1212->slug())); @endphp
@endif
@endsection @push('script') @endpush