The `subagent` tool now accepts an optional `task_id` parameter. If a `task_id` is provided, the tool will execute the existing task from the `TasksManager` instead of creating a new one. This resolves a regression where tasks created by file-based sub-recipes were orphaned and could not be executed. - Added `task_id: Option<String>` to `SubagentParams`. - Updated `create_subagent_tool` documentation. - Modified `impl TryFrom<SubagentParams> for Recipe` to allow partial recipe creation if `task_id` is present, providing a dummy instruction if needed to satisfy the builder. - Updated `run_subagent_tool` to prioritize execution of existing tasks by `task_id` if provided, otherwise proceeds with new task creation. - Added `subagent_tool_test.rs` to verify new functionality.
goose is your on-machine AI agent, capable of automating complex development tasks from start to finish. More than just code suggestions, goose can build entire projects from scratch, write and execute code, debug failures, orchestrate workflows, and interact with external APIs - autonomously.
Whether you're prototyping an idea, refining existing code, or managing intricate engineering pipelines, goose adapts to your workflow and executes tasks with precision.
Designed for maximum flexibility, goose works with any LLM and supports multi-model configuration to optimize performance and cost, seamlessly integrates with MCP servers, and is available as both a desktop app as well as CLI - making it the ultimate AI assistant for developers who want to move faster and focus on innovation.
Quick Links
Need Help?
a little goose humor 🦢
Why did the developer choose goose as their AI agent?
Because it always helps them "migrate" their code to production! 🚀