All guides
Admin

AI

Change the configuration fields provided by this feature.

Step-by-step guide

Before you start

Use an administrator account for this feature.

Open this feature

Open /admin/settings/ai-config on your application domain, or use the matching item in the application menu.

Steps

Save changes

  1. Open /settings/ai-config on your own application domain.
  2. Complete these fields in that form: Default Creativity, Maximum Input Length, Maximum Output Length, API key, Input USD per 1M tokens, Output USD per 1M tokens. Their choices and limits are listed below.
  3. Select Save changes. The exact label can change between creating and editing a record.
  4. If validation fails, correct the named field and submit again. After success, reopen the same record and compare the saved values.
Field shown in the formWhat to enterExample / note
Default CreativityRequired.Use the value required by the task; no example is assumed.
Maximum Input LengthRequired. Enter a whole number. At least 1. No more than 1000000.Use the value required by the task; no example is assumed.
Maximum Output LengthRequired. Enter a whole number. At least 1. No more than 1000000.Use the value required by the task; no example is assumed.
API keyOptional, unless this form asks for it. No more than 500 characters. Enter the real value privately; do not put it in a screenshot or support message.Use the value appropriate to your test account; no preset is supplied.
Input USD per 1M tokensOptional, unless this form asks for it. Enter a number. At least 0. No more than 1000000.Use the value required by the task; no example is assumed.
Output USD per 1M tokensOptional, unless this form asks for it. Enter a number. At least 0. No more than 1000000.Use the value required by the task; no example is assumed.

Fields shown in the interface

Only fields traced to this role’s handler and its own view are listed. The application can show separate create/edit forms; do not fill every row on one screen.

Form 1 — fields shown in the interface
FieldWhat to enter or choose
Default CreativityRequired.
Maximum Input LengthRequired. Enter a whole number. At least 1. No more than 1000000.
Maximum Output LengthRequired. Enter a whole number. At least 1. No more than 1000000.
API keyOptional, unless this form asks for it. No more than 500 characters. Enter the real value privately; do not put it in a screenshot or support message.
Input USD per 1M tokensOptional, unless this form asks for it. Enter a number. At least 0. No more than 1000000.
Output USD per 1M tokensOptional, unless this form asks for it. Enter a number. At least 0. No more than 1000000.

Check the result

After a source-checked procedure, verify the same record in the same workspace. Check saved values, visible state and access with the intended test account. An external payment/message/provider action needs its own result check.

Problems and validation

ProblemNext step
A field rejects the valueCheck its named error, the form’s visible choices and the relevant limit. Do not substitute internal numeric codes for the displayed options.
The control is missingCheck role, plan, enabled app and current record state. Do not grant administrator access merely to complete a User task.
The saved result is unexpectedReopen the same record and verify its owner/workspace before repeating the action.

Technical reference

Role-scoped source references

Pinned commit: 68a5655db1bbe17c74fb211f0fe0ee4e63c8be88

Source-only route information
MethodSource-default route
LIVEWIRE/settings/ai-config
LIVEWIRE/admin/settings/ai-config
LIVEWIRE/admin/ai-usage-logs
LIVEWIRE/admin/ai-report
Unmapped fields — not user instructions

These fields belong to this role’s source handler, but their screen labels were not confirmed.

Source keyHandler
ai_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_default_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_default_languagemodules/Admin/AdminAI/Livewire/AiConfig.php
ai_default_tone_of_voicemodules/Admin/AdminAI/Livewire/AiConfig.php
ai_text_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_embedding_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_openai_urlmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_ollama_urlmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_replicate_model_slugmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_replicate_version_overridemodules/Admin/AdminAI/Livewire/AiConfig.php
ai_replicate_template_presetmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_replicate_input_templatemodules/Admin/AdminAI/Livewire/AiConfig.php
ai_content_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_content_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_content_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_text_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_text_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_text_generation_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_image_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_image_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_image_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_qr_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_video_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_video_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_video_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_chat_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_chat_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_chat_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_voice_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_voice_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_voice_modelmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_code_statusmodules/Admin/AdminAI/Livewire/AiConfig.php
ai_code_providermodules/Admin/AdminAI/Livewire/AiConfig.php
ai_code_modelmodules/Admin/AdminAI/Livewire/AiConfig.php