Skip to content

Commit b1e8c7d

Browse files
committed
refac
1 parent b794d61 commit b1e8c7d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

backend/open_webui/tools/builtin.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,8 +2358,9 @@ async def tasks(
23582358
Use this whenever a request involves multiple steps or could take
23592359
significant effort. Call to set the full list, then call again
23602360
with overwrite=false after completing each task to mark it
2361-
completed. Each task has an id, content, and status (pending,
2362-
in_progress, completed, cancelled).
2361+
completed. Do not leave tasks in_progress when the work is done.
2362+
Each task has an id, content, and status (pending, in_progress,
2363+
completed, cancelled).
23632364
23642365
: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.
23652366
:param overwrite: If true (default), replaces the entire task list. If false, updates/adds tasks by id while keeping existing ones.

0 commit comments

Comments
 (0)