{# Step 3 — optional LLM review setup. Skippable: a "Skip for now" button writes the default LLMConfig (enabled=False) and continues to /setup/complete. The audit is fully usable without LLM. #} {% extends "setup/layout.html" %} {% block content %}

Step 3 · AI / LLM review (optional)

Audit can run an LLM over the top-N most expensive jobs to flag BigQuery anti-patterns the rules engine doesn't cover. Reviewer code lands in v0.0.2 — saving here just primes the settings.

{% if errors and errors.get('_general') %}
{{ errors['_general'] }}
{% endif %}

Provider-specific model id. Default = Gemini 3.1 Pro.

{% if config_llm and config_llm.api_key %}

Current key on file: ••••••••{{ config_llm.api_key[-4:] if config_llm.api_key|length > 4 else '••••' }}

{% endif %}

Stored in ~/.governor-audit/config.json (file mode 0600). Falls back to GEMINI_API_KEY if blank.

Back
{% endblock %}