{# Model area partial — swapped in via HTMX when a provider is selected. Context variables: models, supports_custom, error, message, selector_id, provider_name, default_model_id, provider_type #} {% if error %} {# State: unreachable or error #}
{{ error }}
Check that the provider is running. Settings
{% if supports_custom %}
{% if provider_type == "local" %} {% else %} {% endif %}
{% endif %} {% elif message %} {# State: reachable but empty model list #}
No models loaded
{{ message }}
{% if supports_custom %}
{% endif %} {% else %} {# State: models loaded (enumerated or curated) #} {% if provider_type == "local" %}
{% endif %} {% if supports_custom %} {% endif %} {% endif %}