Skip to main content

Module api

Module api 

Source
Expand description

API endpoints for error explanation, self-healing autofix, and developer diagnostics.

Structs§

AutoFixPayload
POST request body payload containing data needed to perform an AI autofix operation.
ExplainQuery
Query parameters for requests to fetch an AI-based explanation of an error.

Functions§

handle_autofix
POST endpoint that prompts the LLM to rewrite the file on disk to fix the panic.
handle_explain
Asynchronous endpoint called by the browser to fetch the AI error explanation.
handle_run_migrations
POST endpoint that triggers database migration execution from the Ignition Error Console.