Skip to content

Add OpenAI Responses client timeout options - #1506

Open
HarperZ9 wants to merge 1 commit into
simonw:mainfrom
HarperZ9:fix/openai-responses-timeout-options-1504
Open

Add OpenAI Responses client timeout options#1506
HarperZ9 wants to merge 1 commit into
simonw:mainfrom
HarperZ9:fix/openai-responses-timeout-options-1504

Conversation

@HarperZ9

@HarperZ9 HarperZ9 commented Jul 2, 2026

Copy link
Copy Markdown

Summary

  • add timeout and max_retries options for Responses-routed OpenAI models
  • pass those options to OpenAI(...) / AsyncOpenAI(...) client construction
  • keep those client-only options out of both Responses and fallback Chat Completions request bodies

Closes #1504

Tests

  • python -m pytest tests/test_openai_responses.py tests/test_cli_openai_models.py -q
  • python -m ruff check llm/default_plugins/openai_models.py tests/test_openai_responses.py tests/test_cli_openai_models.py
  • python -m black --check llm/default_plugins/openai_models.py tests/test_openai_responses.py tests/test_cli_openai_models.py
  • git diff --check

@HarperZ9
HarperZ9 force-pushed the fix/openai-responses-timeout-options-1504 branch from 1543f1d to bf23023 Compare July 30, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow longer OpenAI Responses requests before timing out

1 participant