goose icon indicating copy to clipboard operation
goose copied to clipboard

Prompt fix to encourage waiting for params from previous subrecipe

Open katzdave opened this issue 2 weeks ago • 1 comments

Fixes https://github.com/block/goose/issues/6078.

I don't see a mechanism where we would pipe the output from one recipe directly to a parameter of another, so this encourages the agent to think critically about if there might be a dependency here. If there is, it should run the subrecipes one at a time, and fill the parameters on the subsequent subrecipe afterwards.

katzdave avatar Dec 11 '25 23:12 katzdave

The first subrecipe itself still doesn't work for the weather; it complains it doesn't have access to a useful tool so maybe we should update the docs on that. But the second recipe works now and has the weather context from the first.

katzdave avatar Dec 11 '25 23:12 katzdave

Closing as I see a larger subrecipe change on the way, and I feel like this is something the agent should be able to correct for after seeing a task for on its own.

katzdave avatar Dec 12 '25 22:12 katzdave