Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Implement task management system for more structured progress on goals #495

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

hunteraraujo
Copy link
Contributor

Design Document

https://docs.google.com/document/d/1pHtgK4OaFxy2POColR4nYJ3wemU4XLTEoxTLQunzaU0/edit?usp=sharing

Background

One issue I have seen while experimenting with AutoGPT is that it will go deep down irrelevant rabbit holes. In order to address this I am experimenting with having a more structured way of organizing tasks.

Changes

  • TaskManager: A singleton class responsible for managing tasks, including creating tasks, retrieving tasks by ID, updating task states, and displaying task hierarchy.
  • TaskState:An enumeration representing the state of a task (NOT_STARTED, IN_PROGRESS, COMPLETED).
  • Task: A class representing individual tasks with properties like ID, name, state, parent task, and subtasks.
  • New --taskmanager command line flag to enable and disable
  • New commands for managing tasks: update_task_state and set_current_task

Test Plan

  • Add unit tests for Task Manager, Task, and TaskState

Outstanding items

  • Refine prompt to ensure AutoGPT is always managing tasks
  • Allow for programmatically adding task manager portion of prompt based off command line flag

Change Safety

  • I have added tests to cover my changes
  • I have considered potential risks and mitigations for my changes

@github-actions github-actions bot added conflicts Automatically applied to PRs with merge conflicts labels Apr 17, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

1 similar comment
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@p-i-
Copy link
Contributor

p-i- commented May 5, 2023

This is a mass message from the AutoGPT core team.
Our apologies for the ongoing delay in processing PRs.
This is because we are re-architecting the AutoGPT core!

For more details (and for infor on joining our Discord), please refer to:
https://github.com/Significant-Gravitas/Auto-GPT/wiki/Architecting

@Boostrix
Copy link
Contributor

#4107

@Pwuts
Copy link
Member

Pwuts commented Jun 15, 2023

@collijk fyi

@Pwuts
Copy link
Member

Pwuts commented Jul 7, 2023

I'll be trying to incorporate (something like) this into #4799

@Pwuts Pwuts added the fridge Items that can't be processed right now but can be of use or inspiration later label Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflicts Automatically applied to PRs with merge conflicts fridge Items that can't be processed right now but can be of use or inspiration later function: planning
Projects
Status: Don't Merge
Development

Successfully merging this pull request may close these issues.

None yet

4 participants