Skip to content

feat: add task planning and execution for multi-step queries#202

Open
RustyCoderX wants to merge 1 commit intovirattt:mainfrom
RustyCoderX:add-task-planning
Open

feat: add task planning and execution for multi-step queries#202
RustyCoderX wants to merge 1 commit intovirattt:mainfrom
RustyCoderX:add-task-planning

Conversation

@RustyCoderX
Copy link
Copy Markdown

This PR adds a task-planning step for complex queries where the agent first asks the LLM to generate a JSON todo list of tasks, then executes each task using AgentToolExecutor, and finally produces the answer after all tasks are completed, with supporting updates in agent.ts, prompts.ts, and tool-executor.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant