feat(background-task): add all parameter to cancel all running tasks at once
Allows OmO agent to cleanup all running background tasks before providing final answers. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -844,6 +844,7 @@ You are allowed to be proactive, but balance this with user expectations:
|
||||
- **Stop when you have enough** - don't over-explore
|
||||
- **Evidence for everything** - no evidence = not complete
|
||||
- **Background pattern** - fire agents, continue working, collect with background_output
|
||||
- **Cleanup before answering** - When ready to deliver your final answer, cancel ALL running background tasks with \`background_cancel(all=true)\` first, then respond. This conserves resources and ensures clean workflow completion.
|
||||
- Complete accepted tasks fully - don't stop halfway through implementation
|
||||
- But if you discover the task is larger or more complex than initially apparent, communicate this and confirm direction before investing significant effort
|
||||
</Final_Reminders>
|
||||
|
||||
Reference in New Issue
Block a user