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

Delete tasks #458

Merged
merged 7 commits into from May 6, 2023
Merged

Delete tasks #458

merged 7 commits into from May 6, 2023

Conversation

asim-shrestha
Copy link
Contributor

@asim-shrestha asim-shrestha commented May 6, 2023

  • Avoid translating pause mode / automatic mode because this breaks the typing.
  • Add a delete button to the task window
  • Make autonomous agent use tasks from the store instead of its own internal state

image

@vercel
Copy link

vercel bot commented May 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 6, 2023 7:58am

Comment on lines +262 to +268
message: `${t("AUTOMATIC_MODE", { ns: "settings" })} ${t(
"AUTOMATIC_MODE_DESCRIPTION",
{ ns: "settings" }
)} \n\n${t("PAUSE_MODE", { ns: "settings" })}: ${t(
"PAUSE_MODE_DESCRIPTION",
{ ns: "settings" }
)}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is starting to get ugly lol

src/components/AutonomousAgent.ts Outdated Show resolved Hide resolved
const result = await this.executeTask(currentTask.value, analysis);
this.sendMessage({
...currentTask,
info: result,
status: TASK_STATUS_COMPLETED,
});

this.completedTasks.push(currentTask.value || "");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Ideally we want to user undefined as a null value instead of "".

Co-authored-by: Adam Watkins <hello@awtkns.com>
@asim-shrestha asim-shrestha merged commit 7a4a2f2 into main May 6, 2023
7 of 8 checks passed
@awtkns awtkns deleted the delete-tasks branch May 14, 2023 15:39
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.

None yet

2 participants