Krok 6G: payload pokazuje zwykły tryb oraz cacheable static prefix / dynamic context. Status: {{ job.statusLabel }}.
{{ job.inputPayloadJson|json_encode(constant('JSON_PRETTY_PRINT')) }}{{ prompt_cache_pack.promptCacheKey }}
static_prefix_hash: {{ prompt_cache_pack.staticPrefixHash }}
dynamic_context_hash: {{ prompt_cache_pack.dynamicContextHash }}
{{ prompt_cache_pack.staticPrefix|json_encode(constant('JSON_PRETTY_PRINT')) }}{{ prompt_cache_pack.dynamicContext|json_encode(constant('JSON_PRETTY_PRINT')) }}{{ job.outputPayloadJson|json_encode(constant('JSON_PRETTY_PRINT')) }}| Data | Provider | Model | Operacja | Status | Czas | Usage | Cache | Obraz | Błąd |
|---|---|---|---|---|---|---|---|---|---|
| {{ log.createdAt ? log.createdAt|date('d-m-Y H:i:s') : '—' }} | {{ log.provider }} | {{ log.model ?: '—' }} | {{ log.operation }} | {{ log.status }} | {{ log.durationMs ? log.durationMs ~ ' ms' : '—' }} |
{% if log.usageJson %}
{{ log.usageJson|json_encode }}
{% else %}
—
{% endif %}
|
{% set cache_usage = log.usageJson.prompt_cache|default(null) %}
{% set cache_debug = log.requestPayloadJson.prompt_cache_debug|default(null) %}
{% if cache_usage %}
cached: {{ cache_usage.cached_tokens|default(0) }} ratio: {{ cache_usage.cache_hit_ratio|default('—') }} {% elseif cache_debug %} {{ cache_debug.prompt_cache_key|default('—') }}
{% else %}
—
{% endif %}
|
{% set image_meta = log.requestPayloadJson.image_metadata|default(null) %}
{% if image_meta %}
{{ image_meta.image_used ? 'użyty' : 'nieużyty' }}
{% if image_meta.image_mime %} {{ image_meta.image_mime }}{% endif %} {% if image_meta.image_size_mb %} {{ image_meta.image_size_mb }} MB{% endif %} {% else %} — {% endif %} |
{{ log.errorMessage ? log.errorMessage|slice(0, 160) : '—' }} |
To zostaje do ręcznych testów. W trybie API standardowo używaj przycisku „Wyślij do AI przez API”.