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']