{% from "_macros.html" import icon %} {# Lazy fragment for the Agent page (#949). Primary swap target is the desktop sidebar (#sidebar-threads, innerHTML). Everything else is filled via HTMX out-of-band swaps in one round-trip: - #offcanvas-threads mobile thread list - #chat-runtime-slot backend chips/badges (runtime status) - #composer-subtle-slot / #composer-actions-slot composer footer The skeleton already resolved the active thread; we just mark it here. #} {# ── macro: a single thread list (shared by sidebar + offcanvas) ── #} {% macro thread_list() %} {% for thread in threads %} {{ thread.title }} {% else %}
Тредов пока нет
{% endfor %} {% endmacro %} {# ── primary swap: desktop sidebar thread list ── #} {{ thread_list() }} {# ── OOB: mobile offcanvas thread list ── #}{{ agent_status.fallback_provider or "unknown" }}
model
{{ agent_status.fallback_model }}
{% endif %}