Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tests & DX: expand Image coverage (content_filter_results), dedupe retries/timeouts (sync+async); docs & typing polish #2616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lucasalencarxisto-stack wants to merge 3 commits into openai:main
base: main
Choose a base branch
Loading
from lucasalencarxisto-stack:main

Conversation

Copy link

@lucasalencarxisto-stack lucasalencarxisto-stack commented Sep 7, 2025
edited
Loading

Note: This PR overlaps with #2615 / #2616.
If those land first, I’m happy to close this one.
The goal here is simply to improve async timeout/retry coverage and clarify per-request overrides.

  • Images: add tests for optional content_filter_results in image responses, asserting presence/absence handling and type safety.

  • Retries/Timeouts: deduplicate suites across sync/async; introduce conftest with fake OPENAI_API_KEY; clarify per-request timeout override vs client default; honor Retry-After.

  • Docs: README example updated to client.responses.create(...) (modern API).

  • Typing: openai/types/image.py imports (Dict, Any) to support optional fields; no runtime behavior change.

  • Chore: snapshot before archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /