-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Delete tasks #458
Conversation
asim-shrestha
commented
May 6, 2023
•
edited
edited
- 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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" } | ||
)}`, |
There was a problem hiding this comment.
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
const result = await this.executeTask(currentTask.value, analysis); | ||
this.sendMessage({ | ||
...currentTask, | ||
info: result, | ||
status: TASK_STATUS_COMPLETED, | ||
}); | ||
|
||
this.completedTasks.push(currentTask.value || ""); |
There was a problem hiding this comment.
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>