{% if topic and topic.block %} {% set block = topic.block %}
{{ t.home_issue_reason }} {{ t.home_topic_attempt_reason if block.error_code == 'window_attempt_limit' else t.home_topic_budget_reason if block.error_code == 'window_provider_budget_exceeded' else t.home_topic_recorded_reason }} {{ block.error_code }}
{{ t.home_issue_latest_error }}
{% if last %}{{ t.home_topic_model_timeout if last in ['inference_timeout','model_timeout'] else t.processing_error_generation_unavailable if last in ['inference_unavailable','generation_unavailable'] else t.get('processing_error_' ~ last, t.home_issue_code_only) }} {{ last }}
{% else %}{{ t.home_issue_reason_unknown }}{% endif %}
{{ t.home_issue_impact }} {{ t.home_topic_impact }}
{{ t.home_issue_check }} {{ t.home_topic_check }}
{{ t.processing_topic_blocked_at }} {{ block.blocked_at|display_time }}{% if block.attempts is defined %} ยท {{ t.processing_topic_attempts }} {{ block.attempts }}{% endif %}