Skip to main content

handle_onboard_status

Function handle_onboard_status 

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

GET /api/onboard/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. Onboarding is complete iff at least one agent has its model_provider, risk_profile, and runtime_profile bound.