Make subagents async and reusable by default (#3887)

This commit is contained in:
Steven Enamakel
2026-06-22 15:51:48 -07:00
committed by GitHub
parent ccee419d86
commit 2d71eb3ab1
30 changed files with 4190 additions and 77 deletions
+1
View File
@@ -588,6 +588,7 @@ inline = "Answer the delegated cache probe directly."
"agent_id": "cache_probe_child",
"prompt": "Inspect whether the child turn can answer a cache probe.",
"context": "Parent observed request id cache-42.",
"blocking": true,
}),
)],
140,
@@ -4698,6 +4698,7 @@ async fn agent_subagent_public_types_cover_task_local_and_error_display_paths()
elapsed: Duration::from_millis(12),
mode: SubagentMode::Typed,
status: SubagentRunStatus::Completed,
final_history: Vec::new(),
};
assert_eq!(outcome.mode.as_str(), "typed");
assert_eq!(outcome.elapsed.as_millis(), 12);