Use session IDs as task IDs for subagents instead of UUIDs (#5398)

This commit is contained in:
tlongwell-block
2025-11-07 11:43:11 -05:00
committed by GitHub
parent 6b17d81a43
commit 899100a5e4
7 changed files with 94 additions and 34 deletions
@@ -83,7 +83,7 @@ async fn handle_recipe_task(
}
tokio::select! {
result = run_complete_subagent_task(recipe, task_config, return_last_only) => {
result = run_complete_subagent_task(recipe, task_config, return_last_only, task.id.clone()) => {
result.map(|text| serde_json::json!({"result": text}))
.map_err(|e| format!("Recipe execution failed: {}", e))
}