@extends(BaseHelper::getAdminMasterLayoutTemplate())
@section('content')
@if (BaseHelper::getRichEditor() !== 'ckeditor')
{{ trans('plugins/ai-writer::ai-writer.setting.editor_not_support') }}
@endif
{{ trans('plugins/ai-writer::ai-writer.setting.enable') }}
{!! BaseHelper::clean(trans('plugins/ai-writer::ai-writer.setting.helper_create_api_key', [
'url' => Html::link('https://platform.openai.com/api-keys', 'https://platform.openai.com/api-keys', ['target' => '_blank']),
])) !!}
@if ($models)
{!! BaseHelper::clean(trans('plugins/ai-writer::ai-writer.setting.see_documentation', [
'link' => Html::link('https://platform.openai.com/docs/models/model-endpoint-compatibility', 'https://platform.openai.com/docs/models/model-endpoint-compatibility', ['target' => '_blank']),
])) !!}
@endif
{{ trans('core/setting::setting.save_settings') }}
@push('footer')
{{ trans('plugins/ai-writer::ai-writer.setting.spin_template_title') }}
{{ trans('plugins/ai-writer::ai-writer.setting.generate_label') }}
@endpush
{!! $jsValidation !!}
@endsection