{"record":{"id":"274cc751b523be34","repo":"zeroclaw-labs/zeroclaw","slug":"cancelled","errorCode":null,"errorMessage":"cancelled","messagePattern":"cancelled","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/main.rs","lineNumber":5613,"sourceCode":"                        .map(|alias| format!(\"{provider_type}.{alias}\"));\n                    let catalog_selector = provider_ref.as_deref().unwrap_or(provider_type);\n                    let (models, _pricing, live) =\n                        zeroclaw_runtime::quickstart::model_catalog_with_config(\n                            Some(&config),\n                            catalog_selector,\n                        )\n                        .await;\n                    if live && !models.is_empty() {\n                        let current = config.get_prop(&path).unwrap_or_default();\n                        let default = models.iter().position(|m| m == &current).unwrap_or(0);\n                        let Some(idx) = FuzzySelect::new()\n                            .with_prompt(format!(\"Model id for {provider_type}\"))\n                            .items(&models)\n                            .default(default)\n                            .max_length(models.len().max(1))\n                            .interact_opt()?\n                        else {\n                            anyhow::bail!(\"cancelled\");\n                        };\n                        config.set_prop_persistent(&path, &models[idx])?;\n                    } else {\n                        eprintln!(\n                            \"  no live catalog for `{provider_type}` — \\\n                             enter the model id manually.\"\n                        );\n                        let m = Input::<String>::new()\n                            .with_prompt(format!(\"Model id for {provider_type}\"))\n                            .allow_empty(false)\n                            .interact_text()?;\n                        config.set_prop_persistent(&path, &m)?;\n                    }\n                } else {\n                    let field_info = config.prop_fields().into_iter().find(|f| f.name == path);\n                    let variants = field_info.as_ref().and_then(|info| {\n                        let get_variants = info.enum_variants?;\n                        let variants = get_variants();","sourceCodeStart":5595,"sourceCodeEnd":5631,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/src/main.rs#L5595-L5631","documentation":"Error \"cancelled\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at src/main.rs:5613 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Re-run the command and confirm the prompt instead of cancelling.","Pass the required values non-interactively (flags or config set) to avoid the prompt."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}