{% set is_downloading = gateway.models | selectattr('download_state', 'equalto', 'downloading') | list | length > 0 %}
{% if feedback %} {% endif %}
Inference Server {% if gateway.status.value == 'ok' %} Online {% else %} Unavailable {% endif %}

Local models served by llama-swap. Download a model to make it available for inference.

{% if gateway.status.value == 'ok' and gateway.endpoint_url %}
{% endif %} {% if gateway.status.value != 'ok' %}

The swapboard API could not be reached. Check that it is running and reachable.

{% elif gateway.models %}
{% for model in gateway.models %} {% endfor %}
Name Repository Status Actions
{{ model.name }} {{ model.repo_id }} {% if model.download_state.value == 'downloading' %} Downloading {% elif model.present or model.download_state.value == 'completed' %} Available {% elif model.download_state.value == 'failed' %} Failed {% else %} Not downloaded {% endif %} {% if model.present or model.download_state.value == 'completed' %} ready {% elif model.download_state.value == 'downloading' %} {% else %} {% endif %}
{% else %}

No models are configured in llama-swap.

{% endif %}