Skip to content

Fix background mode auto-enable for long requests - #18

Merged
hemanth-asirvatham merged 1 commit into
mainfrom
review-code-for-bugs-and-issues
Feb 7, 2026
Merged

Fix background mode auto-enable for long requests#18
hemanth-asirvatham merged 1 commit into
mainfrom
review-code-for-bugs-and-issues

Conversation

@hemanth-asirvatham

Copy link
Copy Markdown
Collaborator

Motivation

  • Ensure get_response auto-enables background polling for long-running requests when no timeout is provided, matching the documented behavior instead of defaulting to False.

Description

  • Update in src/gabriel/utils/openai_utils.py where effective_background is now set to timeout is None rather than False, so background mode is automatically used when callers omit a timeout.

Testing

  • No automated tests were run for this change.

Codex Task

@hemanth-asirvatham
hemanth-asirvatham merged commit 47b6fa1 into main Feb 7, 2026
1 check failed
@github-actions

github-actions Bot commented Feb 7, 2026

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Feb 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant