Planning tool #1879
Replies: 5 comments 6 replies
-
I've written an agentic prompt that does this that I'm happy to share here. I find that having the LLM break the problem down into steps that it can go after yields better results in agentic flows. |
Beta Was this translation helpful? Give feedback.
-
Would be very interested in seeing this. With agent mode on the horizon something like this would likely yield much more accurate outcomes. |
Beta Was this translation helpful? Give feedback.
-
@olimorris Here's the prompt. I'm able to piggy-back off of the existing fine-tuning that OpenAI did for this usecase pretty well.
|
Beta Was this translation helpful? Give feedback.
-
As a side note, I often struggle to get it to patch files correctly with GPT-4.1. A solution I've found is to tell it to explain why it failed and try again. |
Beta Was this translation helpful? Give feedback.
-
I experiment a bit with tree of thoughts now. I try to create a tool with 2 altering modes. Reason and execute. In reason mode use ToT to find next best task that will get it closer to solution. In execute, complete the task and share the result and another round of reason and execute starts. Whatever pattern is used, planning yields better results in complex task. Often, without any reflections, it just goes straight into rabbit hole and is unable to recover. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to add a tool to help LLM plan the next tasks. Something similar can be found in opencode.ai
Idea is to plan at the start of the task and create a todo list. Then llm picks the tasks and completes them one by one. If necessary new tasks are added in the process and some are removed. I think this helps with achieving better results.
It would be nice if this planning tool could have access to all of the tools available already in the plugin and have freedom to use them as it wants to solve the task.
Beta Was this translation helpful? Give feedback.
All reactions