subagent: drop private-item rustdoc links to check_model

CI's docs-rustdoc check (-D rustdoc::private-intra-doc-links) failed:
start's and continue_'s public # Errors sections linked to check_model
with [`check_model`], but check_model is (correctly) private. Drop the
bracketed link and keep the plain backticked reference — the sentence
still names the check, it just stops trying to hyperlink a private item
from public docs.

Refs #4436
This commit is contained in:
atlas 2026-09-15 23:44:14 +02:00
commit 5a9118c945

View file

@ -996,7 +996,7 @@ pub struct StartRequest {
/// # Errors
///
/// A name already running, an invalid name, a `model` the operator hasn't
/// made available (see [`check_model`]), an archive failure, or the
/// made available (see `check_model`), an archive failure, or the
/// underlying `Claude::spawn` failing (binary missing, etc.) — the last
/// case is the only one that can happen *after* commit-to-run, and it's
/// exactly why nothing is registered in `running` until spawn actually
@ -1112,7 +1112,7 @@ fn start_reserved(
/// # Errors
///
/// An invalid name, one already running, a `model` the operator hasn't made
/// available (see [`check_model`]), `Claude::spawn` failing, or the resumed
/// available (see `check_model`), `Claude::spawn` failing, or the resumed
/// turn failing within `RESUME_GRACE` — in practice a missed resume.
pub async fn continue_(
state: &Arc<State>,