From 7184115b1ac1f7c06535b2c90796d78c09575622 Mon Sep 17 00:00:00 2001 From: hemanth-openai Date: Fri, 6 Feb 2026 21:16:26 -0800 Subject: [PATCH] Fix background mode auto-enable for long requests --- src/gabriel/utils/openai_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gabriel/utils/openai_utils.py b/src/gabriel/utils/openai_utils.py index 5447a5e..54b451d 100644 --- a/src/gabriel/utils/openai_utils.py +++ b/src/gabriel/utils/openai_utils.py @@ -1779,7 +1779,7 @@ async def get_response( elif background_mode is not None: effective_background = bool(background_mode) else: - effective_background = False + effective_background = timeout is None background_argument: Optional[bool] = None if explicit_background is not None: background_argument = bool(explicit_background)