From b1e8c7d2aafd41e2fcde5dc4ce3d0c454535daff Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 29 Mar 2026 21:25:39 -0500 Subject: [PATCH] refac --- backend/open_webui/tools/builtin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/tools/builtin.py b/backend/open_webui/tools/builtin.py index 261dba0c69..088319f2e6 100644 --- a/backend/open_webui/tools/builtin.py +++ b/backend/open_webui/tools/builtin.py @@ -2358,8 +2358,9 @@ async def tasks( Use this whenever a request involves multiple steps or could take significant effort. Call to set the full list, then call again with overwrite=false after completing each task to mark it - completed. Each task has an id, content, and status (pending, - in_progress, completed, cancelled). + completed. Do not leave tasks in_progress when the work is done. + Each task has an id, content, and status (pending, in_progress, + completed, cancelled). :param tasks: Optional list of task items. Each item: id (string), content (string, required for new tasks), status (pending|in_progress|completed|cancelled). Leave empty to fetch without modifying. :param overwrite: If true (default), replaces the entire task list. If false, updates/adds tasks by id while keeping existing ones.