{# The ask panel's state (#324): `tkt ai doctor --json`'s `layers.llm`. Active: where the question and the context go, before anything is sent: one line, the place's story on expand (#330). Off: why (the provider chain's skip) and the next step. Never a command line, a key or a token: only the program's name and the host. With the server LLM, the plan's budget as a share used and its reset (#334), never tokens. #} {% set skip = (s.skipped or [{}])[0] %}
{% if s.available %}
Your question, the page context and the found items go to {{ s.to or 'the LLM' }} ({{ s.placeLabel or 'unknown place' }}).

{{ (s.egress or '')[:1] | upper }}{{ (s.egress or '')[1:] }}.

{% if s.budgetText %}

AI budget: {{ s.budgetText }}.

{% endif %} {% else %}

Ask is off. {{ skip.message or 'No LLM can answer here.' }}

Next: {{ skip.next or 'Run `tkt ai doctor`.' }}

{% endif %}