{% 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 Details Size Status Actions
{{ model.name }} {% include "partials/model_badges.html" %} {% if model.size_bytes %}{{ model.size_bytes | filesizeformat(true) }}{% else %}—{% endif %} {% 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 %} {% set is_present = model.present or model.download_state.value == 'completed' %} {% set in_progress = model.download_state.value == 'downloading' %}
{% else %}

No models are configured in llama-swap.

{% endif %}
{% if gateway.stray %}
Stray models

These GGUF files are on disk but no longer referenced by the llama-swap configuration. Removing them frees the space.

{% for stray in gateway.stray %} {% endfor %}
Location Files Size Actions
{{ stray.relative_path }} {{ stray.files | length }} {{ stray.size_bytes | filesizeformat(true) }}
{% endif %}