Subagent extension selection behavior fix (#5093)

This commit is contained in:
tlongwell-block
2025-10-09 15:30:36 -04:00
committed by GitHub
parent ba6d43e75c
commit 23da28d8c3
@@ -91,10 +91,10 @@ async fn handle_inline_recipe_task(
.and_then(|v| v.as_bool())
.unwrap_or(false);
// If extensions are explicitly provided in the recipe (even if empty),
// override the task_config extensions. Empty array means no extensions.
if let Some(exts) = recipe.extensions {
if !exts.is_empty() {
task_config.extensions = exts.clone();
}
task_config.extensions = exts.clone();
}
let instruction = recipe