{# Settings → Assistant. Two blocks: what Ask Yaffo may look at, and which changes it may propose (grouped by what they touch, folded away). Deleting conversations is on the Ask Yaffo page, beside the list. Every switch saves on change with htmx; settings.js keeps each group's count. Labels stay short; an explanation goes in an info tip beside the checkbox (outside the label, so tapping the tip doesn't toggle it). #} {% macro help_tip(switch) %} {% if switch.help %} {% endif %} {% endmacro %}

{{ _("Assistant") }}

{{ _("Ask Yaffo answers questions and troubleshoots using your AI Generation key. Nothing in your library changes until you approve it.") }}

{{ _("What it can look at") }}

{{ _("What it reads is sent with your question, without your home folder, email addresses or keys. Turn everything off to answer from the documentation only.") }}

{% for switch in assistant.diagnostics %}
{{ help_tip(switch) }}
{% endfor %}
{{ _("Changes it can propose") }}

{{ _("Each change appears as a card you approve or decline, with the exact items and counts. Needs Library contents.") }}

{% for group in assistant.action_groups %}
{{ group.title }} {% trans on=group.on_count, total=group.switches|length %}{{ on }} of {{ total }} on{% endtrans %}
{% for switch in group.switches %}
{{ help_tip(switch) }} {% if switch.irreversible %} {{ _("Can't be undone") }} {% endif %}
{% endfor %}
{% endfor %}
{% set threshold_help = _("When a change affects more items than this, Approve also asks you to confirm the count.") %}