{{ t('site.skip') }}
{# The model in use: a dot that follows /readyz (app.js) and the word "Model" ("No
model" while the preset lacks its key); the preset's title and the status are the
tooltip and the text a screen reader hears. A link to the model page. #}
{% set model_status = (settings.llm.title ~ '. ' ~ t('js.endpoint.unknown')) if model_ready else t('model.none') %}
{# Only the tag's name is an expression: autoescape would turn the quotes of an
attribute written in one into ". #}
{% set endpoint_tag = 'a' if model_page else 'span' %}
<{{ endpoint_tag }}{% if model_page %} href="/model"{% endif %} class="endpoint" id="endpoint-status" data-endpoint data-url="/readyz"{% if model_ready %} data-model="{{ settings.llm.title }}"{% endif %} title="{{ model_status }}">
{{ t('site.endpoint') if model_ready else t('site.no_model') }}{{ model_status }}
{{ endpoint_tag }}>
{% set languages = ui_languages() %}
{% if languages | length > 1 %}
{% endif %}
{{ t('site.guide') }}
{% if notice %}