disable agent message tools for ui background tasks

This commit is contained in:
jxxghp
2026-04-29 23:30:59 +08:00
parent ef5bd29759
commit 7586a2cd42
11 changed files with 48 additions and 99 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ class SearchChain(ChainBase):
output_callback=on_output,
suppress_user_reply=True,
persist_output_message=False,
suppress_message_channel_dispatch=True,
allow_message_tools=False,
)
return full_output[0].strip()