{# ── S-143 · Step 3 (Configure) ─────────────────────────────────────────── Embeds the S-118 spec grid via ``GET /api/spec`` with ``Accept: text/html`` (the same content negotiation Studio uses). Per-row method picks land via ``PUT /api/spec/tables/{t}/columns/{c}`` (S-119); per-cell method swaps go through the S-120 ``method_picker`` Alpine island which we mount once here. The ``data-wizard="true"`` attribute lets the global ``spec_grid_rerender.js`` hook stay no-op outside the Studio shell — the wizard does not need the per-column re-preview hot-reload pipeline. ── #} {% extends "wizard/_step_base.html" %} {% block content %}

Tune per-column generators, distributions, and row counts. The picker swaps generator methods inline; the spec persists to .dbsprout/cache so reloading the page keeps your edits.

{# S-145: Use-LLM opt-in. The heuristic spec is already in place from the GET-side entry hook so the grid below renders immediately; this button lets the user trade time for a (potentially) richer LLM-built spec and swap the body in place when the request returns. #}
Replaces the heuristic spec with one built by the local LLM provider.
Loading spec grid…
{# Mount the shared method picker so the per-row pills can dispatch ``studio:open-method-picker`` events. The picker is page-level Alpine — including it once here matches the Studio shell pattern. #} {% include "studio/method_picker.html" %}
{% endblock %}