{% extends "base.html" %} {% block title %}Spark - Settings{% endblock %} {% block head %}{% if page == 'personal' %}{% endif %}{% endblock %} {% block content %} {% if is_locked %}
Settings Locked

Enter the password to access settings.

{% endif %}
{% if page == 'instance' %}

Instance settings

Settings every user of this Spark shares. Changes apply to every replica at once. Secrets are kept in the secrets store and are never shown.

{% elif page == 'preferences' %}

My preferences

Your own defaults. They do not change anyone else's.

{% else %}

Settings

Configure providers, database, and application behaviour. Changes are saved to config.yaml; secrets go to the keychain and are never shown.

{% endif %}
{% if page == 'instance' %} My preferences {% elif page == 'preferences' and is_admin %} Instance settings {% elif page == 'personal' %} {% endif %}
{% if tool_categories %}
Tools
{% endif %}
{% if page == 'personal' %}
Connections

The model services Spark uses, kept in config.yaml. Each offers the models you enable on it. Credentials go to the keychain and are never shown again. Connection changes save at once; the Save button below is for the other settings.

{% endif %} {% for section in sections %}
{{ section.title }}

{{ section.description }}

{% for group in section.groups %} {% if section.groups|length > 1 %}
{{ group.title }}
{% if group.help_url %} Setup Guide {% endif %}
{% endif %} {% for field in group.fields %}
{% if field.type == 'toggle' %}
{% elif field.type == 'select' %} {% elif field.type == 'model_select' %} {% elif field.type == 'secret' %}
{% if field.has_value %}Set{% else %}Not set{% endif %}
{% elif field.type == 'number' %} {% elif field.type == 'textarea' %} {% if field.help %}
{{ field.help }}
{% endif %} {% else %} {% endif %} {% if field.help is defined and field.help and field.type != 'textarea' %}
{{ field.help }}
{% endif %}
{% endfor %} {% endfor %} {% if section.id == 'mail' %}
{% endif %}
{% endfor %} {% if tool_categories %}
Embedded Tools

Built-in tools available to the AI during conversations. Enable or disable each category and configure access modes.

{% for cat in tool_categories %}
{{ cat.title }}

{{ cat.description }}

{% if cat.mode_options %}
{% for mode in cat.mode_options %} {% endfor %}
{% if cat.mode and cat.mode_descriptions.get(cat.mode) %}
{{ cat.mode_descriptions[cat.mode] }}
{% endif %}
{% endif %} {% for field in cat.extra_fields %} {% endfor %}
Available tools:
{% for tool in cat.tools %} {{ tool }} {% endfor %}
{% if cat.id == 'email' %}
{% endif %}
{% endfor %}
{% endif %} {% if page in ('personal', 'instance') %}
MCP Servers

{% if page == 'instance' %} Connect external tool servers via the Model Context Protocol, over HTTP or SSE. A server is offered only to the roles it is granted to. stdio servers run a command on the host and are not available on a server. {% else %} Connect external tool servers via the Model Context Protocol. Supports stdio, HTTP, and SSE transports. {% endif %}

No MCP servers configured.
{% endif %}
{% endblock %} {% block scripts %} {% if page == 'personal' %}{% endif %} {% endblock %}