AI Draft

Generowanie, status ostatniego draftu i szybkie przejście do akceptacji.

AI Studio Akceptacja
Tryb{{ ai_settings.ai_execution_mode == 'api' ? 'API / model domyślny' : 'Testowy' }}
Ostatni job{{ latest_ai_job ? latest_ai_job.statusLabel : 'Brak' }}
Ostatni draft{{ latest_ai_draft ? latest_ai_draft.statusLabel : 'Brak' }}
Analiza obrazu AI: {% if ai_settings.ai_openai_send_project_image == '1' and ai_project_image_status.usable %} obraz projektu będzie dołączony do requestu API OpenAI/Gemini. {% elseif ai_settings.ai_openai_send_project_image != '1' %} wysyłka obrazu jest wyłączona w ustawieniach. {% elseif not ai_project_image_status.available %} brak obrazu projektu. {% else %} {{ ai_project_image_status.warning ? ai_project_image_status.warning : ai_project_image_status.reason }}. {% endif %}
Status: {{ ai_project_image_status.status }}{% if ai_project_image_status.size_mb %}, {{ ai_project_image_status.size_mb }} MB{% endif %}
{% if latest_ai_job %}Payload ostatniego joba{% endif %} {% if latest_ai_draft %}Otwórz draft{% endif %}

Historia generowania

Ostatnie elementy powiązane z projektem.

{% if latest_ai_job %}
Job #{{ latest_ai_job.id }}{{ latest_ai_job.statusLabel }}
{{ latest_ai_job.jobType }}{{ latest_ai_job.createdAt ? latest_ai_job.createdAt|date('d-m-Y H:i') : '—' }}
{% endif %} {% if latest_ai_draft %}
Draft #{{ latest_ai_draft.id }}{{ latest_ai_draft.statusLabel }}
{{ latest_ai_draft.sourceType == 'api' ? 'AI API' : latest_ai_draft.sourceType }}{{ latest_ai_draft.createdAt ? latest_ai_draft.createdAt|date('d-m-Y H:i') : '—' }}
{% endif %} {% if not latest_ai_job and not latest_ai_draft %}
Brak historii AI dla tego projektu.
{% endif %}
{% if latest_ai_draft %}

Pola ostatniego draftu

Skrócony podgląd wygenerowanych pól. Pełna edycja pozostaje w widoku akceptacji.

{% for field in latest_ai_draft.fields %} {% else %} {% endfor %}
PoleStatusTreść
{{ field.fieldCode }} {{ field.statusLabel }} {{ field.content ?: (field.contentJson ? field.contentJson|json_encode(constant('JSON_UNESCAPED_UNICODE')) : '—') }}
Brak pól w ostatnim drafcie.
{% endif %}