{% comment %} Honest "the builder cannot run right now" panel. Included by every builder page. It never renders a dead button: the caller is told exactly which condition failed (feature switched off, no API key, budget exhausted) and which configuration key an administrator has to set. The `availability` dict is built by `siteBuilder.views._availability`. {% endcomment %} {% if not availability.available %}
AI generation is unavailable right now

{{ availability.reason }}

{% if availability.configKey %}
An administrator needs to set this in {{ availability.configFile }}: {{ availability.configKey }}
{% endif %}
You can still browse the template catalogue and edit any content you have already generated — only new generations are blocked.
{% endif %}