mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-03 06:29:55 +08:00
disable agent message tools for ui background tasks
This commit is contained in:
@@ -132,7 +132,7 @@ def _start_ai_redo_task(history_id: int, prompt: str, progress_key: str):
|
||||
output_callback=update_output,
|
||||
suppress_user_reply=True,
|
||||
persist_output_message=False,
|
||||
suppress_message_channel_dispatch=True,
|
||||
allow_message_tools=False,
|
||||
)
|
||||
progress.update(
|
||||
text="智能助手整理完成",
|
||||
@@ -178,7 +178,7 @@ def _start_batch_ai_redo_task(
|
||||
output_callback=update_output,
|
||||
suppress_user_reply=True,
|
||||
persist_output_message=False,
|
||||
suppress_message_channel_dispatch=True,
|
||||
allow_message_tools=False,
|
||||
)
|
||||
progress.update(
|
||||
text="智能助手批量整理完成",
|
||||
|
||||
Reference in New Issue
Block a user