diff --git a/server/src/agents/pool/start/spawn.rs b/server/src/agents/pool/start/spawn.rs index b53d471e..22999956 100644 --- a/server/src/agents/pool/start/spawn.rs +++ b/server/src/agents/pool/start/spawn.rs @@ -271,11 +271,9 @@ pub(super) async fn run_agent_spawn( // its full prior conversation restored (no need to point at // PLAN.md — that's the cold-start orientation path). A brief // "continue" nudge is all the CLI needs. - let resume_msg = resume_context_owned.filter(|s| !s.is_empty()).unwrap_or_else( - || { - "Continue your prior work.".to_string() - }, - ); + let resume_msg = resume_context_owned + .filter(|s| !s.is_empty()) + .unwrap_or_else(|| "Continue your prior work.".to_string()); (resume_msg, Some(fallback)) } None => {