feat: add max_turns to recipe and subagent settings (#6687)

Signed-off-by: Jonathan Hult <Jonathan@JonathanHult.com>
This commit is contained in:
Jonathan Hult
2026-01-28 09:43:00 -06:00
committed by GitHub
parent 3ec5143635
commit b8810be806
6 changed files with 34 additions and 3 deletions
@@ -53,4 +53,11 @@ impl TaskConfig {
),
}
}
pub fn with_max_turns(mut self, max_turns: Option<usize>) -> Self {
if let Some(turns) = max_turns {
self.max_turns = Some(turns);
}
self
}
}