Watch
0
0
Fork
You've already forked hyperhive
0

subagent: tell agents they can liberally spawn haiku, even at high effort

This commit is contained in:
damocles 2026-10-05 01:56:34 +02:00 • committed by mara
commit 2ca2c6c42e

View file

@ -44,9 +44,11 @@ struct StartArgs {
/// session under that name is done — rejected while one under the same
/// name is still running.
name: String,
/// Which model the subagent's own session runs. Omit for claude's own
/// default. The `base:claude-subagents` skill's "cheaper-than-you"
/// guidance still applies here.
/// Which model the subagent's own session runs (`--model`). Omit for
/// claude's own default. The `base:claude-subagents` skill's "Model
/// choice" guidance still applies here — pick the cheapest model that
/// can do the job, and don't be stingy about reaching for Haiku on a
/// well-scoped mechanical batch.
#[serde(default)]
model: Option<String>,
/// Which reasoning effort level the subagent's own session runs at
@ -55,7 +57,9 @@ struct StartArgs {
/// models). Independent of `model`, so a cheap model at high effort or
/// an expensive one at low effort are both valid combinations, not
/// just the two extremes. See the `base:claude-subagents` skill for
/// Anthropic's own guidance on choosing between levels.
/// Anthropic's own guidance on choosing between levels — note that on
/// Haiku specifically, cost doesn't scale with effort the way it does
/// on a frontier model, so there's no cost reason to cap it at `medium`.
#[serde(default)]
effort: Option<String>,
/// Path to a file holding the subagent's actual task instructions. A