Skip to main content

handle_mcp_heal

Function handle_mcp_heal 

Source
pub(crate) async fn handle_mcp_heal(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<SelfRequest>,
) -> Response
Expand description

POST /api/v1/agent/self/mcp-heal: 202 healing when a repair started, else 200 with why not (connected, already_healing, no_status_yet, no_process).