{% extends "base.html" %} {% block title %}{{ form_title|capitalize }} - Memorizz{% endblock %} {% block content %} {% from '_ui.html' import page_header, id_chip %} {% set form_back = ('/agents/' ~ agent_id ~ '/playground', 'Agent playground') if is_edit else ('/agents', 'All agents') %} {% if is_edit %} {% call page_header(form_title|capitalize, 'Configure how this agent behaves and runs.', 'Agents', back=form_back) %} {{ id_chip(agent_id|string, 40) }} {% endcall %} {% else %} {{ page_header(form_title|capitalize, 'Configure how this agent behaves and runs.', 'Agents', back=form_back) }} {% endif %} {% if error %}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}