{% extends 'base.html' %} {% from 'settings-tabs.html' import settings_tabs with context %} {# The AI pages, /settings/ai/llm ("AI / LLM") and /settings/ai/mcp ("MCP Server") (blueprint/settings/llm), one wrapper for both: the /settings tab row with "AI / LLM / MCP" active, the switch between the two pages (settings-ai-tabs.html), the scripts, and the page's own part: llm-settings_llm.html or llm-settings_mcp.html, by active_tab. Only registered when LLM_FEATURES_DISABLED isn't set. #} {% block content %} {% if active_tab == 'mcp' %} {% endif %}
{{ settings_tabs(active='ai', plugin_tabs=plugin_tabs) }}
{% include 'settings-ai-tabs.html' %} {% if active_tab == 'mcp' %} {% include 'llm-settings_mcp.html' %} {% else %} {% include 'llm-settings_llm.html' %} {% endif %}
{% endblock %}