{"record":{"id":"8c900d8f882f4ee5","repo":"Hmbown/CodeWhale","slug":"fleet-task-requests-thinking-tier-effort","errorCode":null,"errorMessage":"Fleet task `{}` requests thinking tier `{effort}` for `{}` / `{}`, but that exact model route does not support thinking; choose inherit, auto, or off, or select a reasoning-capable model","messagePattern":"Fleet task `(.+?)` requests thinking tier `(.+?)` for `(.+?)` / `(.+?)`, but that exact model route does not support thinking; choose inherit, auto, or off, or select a reasoning-capable model","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/tui/src/fleet/worker_runtime.rs","lineNumber":371,"sourceCode":"        effective_fleet_reasoning_effort_for_role(task.worker.as_ref(), agent_profile)\n    else {\n        return Ok(());\n    };\n    if matches!(effort.as_str(), \"inherit\" | \"auto\" | \"off\") {\n        return Ok(());\n    }\n    let Some(route) = resolve_fleet_route_with_config(task, agent_profiles, session_model, config)\n    else {\n        // The model-route validator owns unresolved-route errors and produces\n        // the more useful provider/model diagnosis.\n        return Ok(());\n    };\n    let provider = ApiProvider::parse(&route.provider_kind).unwrap_or(ApiProvider::Custom);\n    let capability = crate::config::provider_capability(provider, &route.wire_model_id);\n    if capability.thinking_supported {\n        return Ok(());\n    }\n    bail!(\n        \"Fleet task `{}` requests thinking tier `{effort}` for `{}` / `{}`, but that exact model route does not support thinking; choose inherit, auto, or off, or select a reasoning-capable model\",\n        task.id,\n        route.provider_id,\n        route.wire_model_id,\n    );\n}\n\n/// Build a sub-agent worker spec after resolving workspace Fleet profile input.\n///\n/// This keeps Fleet and sub-agents on the same runtime substrate: profile files\n/// and task-level role/loadout intent are composed into the existing\n/// `AgentWorkerSpec` / `WorkerRuntimeProfile` pair, then optionally intersected\n/// with a parent profile when the caller has one.\n/// A worker workspace is isolated when it is a linked git worktree that sits\n/// outside the coordinating manager's workspace (and does not contain it):\n/// its mutations cannot overlap the shared checkout, so its launch manifest\n/// must not claim the shared-workspace coordination scope (#5036).\nfn worker_workspace_is_isolated(","sourceCodeStart":353,"sourceCodeEnd":389,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/73e0f67d83c59909b571efdfc88c4bc28c309cb1/crates/tui/src/fleet/worker_runtime.rs#L353-L389","documentation":"validate_fleet_reasoning_effort rejects an explicit thinking tier (e.g. `high`) when the exact resolved model route's provider_capability reports thinking_supported == false. `inherit`, `auto`, and `off` are accepted on every route because they never force a reasoning payload; only concrete tiers are checked, deliberately at run creation so the UI cannot save a profile that silently downgrades or fails at spawn (#4866).","triggerScenarios":"A task or agent profile sets reasoning effort to a concrete tier (not inherit/auto/off), resolve_fleet_route_with_config yields a route whose provider_kind/wire_model_id maps to a provider without thinking support (e.g. a plain completion model), and provider_capability(provider, wire_model_id).thinking_supported is false.","commonSituations":"Assigning `high` reasoning to a non-reasoning model like a fast/cheap tier; reusing a profile that set a thinking tier for one model with another provider's model that lacks reasoning support; role aliases like consultant that lock high reasoning onto an incompatible model.","solutions":["Change the task/profile reasoning effort to `inherit`, `auto`, or `off`.","Select a reasoning-capable model for the route (one whose provider_capability reports thinking_supported).","Switch the model's provider to one that supports thinking for that wire model ID.","Drop the explicit tier and let the session default govern reasoning."],"exampleFix":"// before\n[worker]\nreasoning_effort = \"high\"\nmodel = \"claude-haiku-fast\"\n\n// after\n[worker]\nreasoning_effort = \"off\"\nmodel = \"claude-haiku-fast\"","handlingStrategy":"validation","validationCode":"if !matches!(effort.as_str(), \"inherit\"|\"auto\"|\"off\") && !provider_capability(provider, wire_model_id).thinking_supported {\n    return Err(format!(\"{wire_model_id} does not support thinking tier {effort}\"));\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use `auto` or `off` unless a concrete tier is required.","Check provider_capability(model).thinking_supported before assigning tiers.","Do not reuse reasoning-tier profiles across unrelated models."],"tags":["fleet","reasoning","capability","model-route"],"backgroundTag":"unsupported-operation","analyzedSha":"73e0f67d83c59909b571efdfc88c4bc28c309cb1","analyzedAt":"2026-09-22T01:30:00.501Z","contentChangedAt":"2026-09-22T01:30:00.501Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}