From d66d5b7eb0b3b4f461afcca67d843dbade6f2ba6 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 25 Nov 2026 04:45:54 +0400 Subject: [PATCH] refac --- backend/open_webui/utils/agents/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/agents/runner.py b/backend/open_webui/utils/agents/runner.py index 54ecf3e66f..2cdbc2a32b 100644 --- a/backend/open_webui/utils/agents/runner.py +++ b/backend/open_webui/utils/agents/runner.py @@ -60,7 +60,7 @@ async def steer_queued_messages(request, user, output, ended): metadata = output.metadata while not ended.is_set(): with contextlib.suppress(TimeoutError): - await asyncio.wait_for(ended.wait(), 1) + await asyncio.wait_for(ended.wait(), 0.25) if not output.can_steer(): continue reply_id = metadata['message_id']