Skip to main content

handle_section_status

Function handle_section_status 

Source
pub async fn handle_section_status(
    __arg0: State<AppState>,
    headers: HeaderMap,
) -> Response<Body>
Expand description

GET /api/config/status — boolean signal for the dashboard’s fresh-install redirect. The daemon writes a default config.toml on first init, so file existence isn’t a useful “is the user new?” check. Section status: ready iff at least one agent has its model_provider, risk_profile, and runtime_profile bound.