@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content') {!! Form::open(['route' => ['auto-content.setting.edit']]) !!}

{{ trans('plugins/auto-content::content.setting.generate') }}

{{ trans('plugins/auto-content::content.setting.generate_description') }}

{!! Form::text('autocontent_openai_temperature', setting('autocontent_openai_temperature'), [ 'placeholder' => trans('plugins/auto-content::content.setting.openai_temperature'), 'class' => 'next-input', ]) !!}
{{--
{!! Form::text('autocontent_openai_max_tokens', setting('autocontent_openai_max_tokens'), [ 'placeholder' => trans('plugins/auto-content::content.setting.openai_max_tokens'), 'class' => 'next-input', ]) !!}
--}}
{!! Form::text('autocontent_openai_frequency_penalty', setting('autocontent_openai_frequency_penalty'), [ 'placeholder' => trans('plugins/auto-content::content.setting.openai_frequency_penalty'), 'class' => 'next-input', ]) !!}
{!! Form::text('autocontent_openai_presence_penalty', setting('autocontent_openai_presence_penalty'), [ 'placeholder' => trans('plugins/auto-content::content.setting.openai_presence_penalty'), 'class' => 'next-input', ]) !!}

{{ trans('plugins/auto-content::content.setting.generate_default') }}

{{ trans('plugins/auto-content::content.setting.proxy') }}

{{ trans('plugins/auto-content::content.setting.proxy_description') }}

{!! Form::select( 'autocontent_proxy_protocol', ['0' => 'http', '1' => 'https'], setting('autocontent_proxy_protocol'), ['class' => 'ui-select', 'id' => 'autocontent_proxy_protocol'], ) !!}
{!! Form::text('autocontent_proxy_ip', setting('autocontent_proxy_ip'), [ 'placeholder' => '192.168.1.1', 'class' => 'next-input', ]) !!}
{!! Form::text('autocontent_proxy_port', setting('autocontent_proxy_port'), [ 'placeholder' => '3304', 'class' => 'next-input', ]) !!}
{!! Form::text('autocontent_proxy_username', setting('autocontent_proxy_username'), [ 'placeholder' => 'username', 'class' => 'next-input', ]) !!}

{{ trans('plugins/auto-content::content.setting.spin') }}

{{ trans('plugins/auto-content::content.setting.spin_description') }}

 
{!! Form::close() !!} @endsection