{% try %}
{% slot %}
{% if _state == "thinking" %}
{% elif streaming %}
{% end %}
{% fallback %}
Content unavailable
{% end %}
{#- chirp-ui: Streaming and AI components For LLM Playground, RAG demo, and SSE-driven UIs. Works with htmx SSE and event delegation for copy buttons. Usage: {% from "chirpui/streaming.html" import streaming_block, copy_btn, prose %} {% call streaming_block(streaming=true) %} Content or thinking... {% end %} {% call copy_btn(text="Copy", copy_text=answer_text) %}