mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 11:07:55 -05:00
refac
This commit is contained in:
1 parent
d66d5b7eb0
commit
70fc1ce3f5
2 files changed
+4
-2
No files matched your search
@@ -1922,8 +1922,8 @@ async def delegate_task(
|
||||
__message_id__: str = None,
|
||||
) -> str:
|
||||
"""
|
||||
Delegate focused work to a parallel sub-agent using the current tools. The result comes back to this chat by itself,
|
||||
so do not wait or poll for it.
|
||||
Delegate focused work to a parallel sub-agent using the current tools. It always reports back, so do not repeat its
|
||||
work.
|
||||
|
||||
:param task: The specific task for the sub-agent to complete
|
||||
:param title: A short name for the task, 3 to 6 words
|
||||
|
||||
@@ -959,6 +959,8 @@ async def delegate(
|
||||
'subagent_chat_id': chat_id,
|
||||
'mode': 'background',
|
||||
'task': task,
|
||||
'note': 'Its report starts your next reply. Finish any other work, then end this one. '
|
||||
'Do not check on it, ask for it or set a timer.',
|
||||
},
|
||||
ensure_ascii=False,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user