Repository navigation
chore(api): document stored chat completion errors - #3963
Conversation
Castiron-Internal-PR: openai/openai-python-internal#157 Castiron-Source-SHA: f030a962fb6aab04beba9f27c069780d82c7925c Castiron-Public-Base-SHA: 6e4a79c
Castiron custom code✅ No new custom-code files detected. 47 mixed files remain; 0 existing customizations changed. Compared 47 existing customizations unchanged
7 more in the full report. A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 36170591942 --repo openai/openai-python \
--name castiron-custom-code-36170591942-1 --dir /tmp/castiron-custom-code-36170591942-1
git apply --stat /tmp/castiron-custom-code-36170591942-1/custom-code.patch
cat /tmp/castiron-custom-code-36170591942-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 6e4a79cc8c7e640e7ac4be710db32fe20b1020f2 8f80409efdccf04bc238530bc6a4442aa9128cec
python3 scripts/castiron/custom_code_report.py report \
--base 6e4a79cc8c7e640e7ac4be710db32fe20b1020f2 \
--head 8f80409efdccf04bc238530bc6a4442aa9128cec --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-8f80409efdcc
cat /tmp/castiron-custom-code-8f80409efdcc/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Reviewed 8f80409 against 6e4a79c. No actionable findings.
Independently parsed the complete base/head OpenAPI documents and verified that the entire semantic difference is exactly 17 added error-response entries across the five stored-chat operations (list, retrieve, update, delete, and list messages). Removing those entries makes the full documents equal. The ErrorResponse and TooManyRequests references resolve to unchanged existing components, and chat-completion creation/streaming definitions are unchanged.
Verified the transformed-document MD5 matches generation metadata (6e1ff6e06165d5b2e49cbfd336f00c20); only the expected five generation metadata fields changed. Both changed files were reviewed; no SDK implementation, public signatures, exception classes, or dependency files changed.
Validation was artifact-focused for this documentation-only change. I did not rerun the full SDK test suite or make live API calls.
|
Thanks for the independent review. Confirmed the reviewed head is unchanged: only the API reference and generation metadata differ from main. Python client code and exception handling remain byte-identical; the current CI and 236-case downstream compatibility run both pass. |
Automated Release PR --- ## [3.20.0](openai/openai-python@v3.19.2...v3.20.0) (2026-09-28) ### Features * **api:** add Agents credential and session options ([openai#3967](openai#3967)) ([bb68198](openai@bb68198)) * **api:** add Cyber access programs to Responses ([openai#3956](openai#3956)) ([09c5b6f](openai@09c5b6f)) * **responses:** opt in to incremental WebSocket text and tool snapshots ([openai#3973](openai#3973)) ([d0207b4](openai@d0207b4)) * **responses:** preserve detailed WebSocket accumulator snapshots ([openai#3981](openai#3981)) ([a380cf2](openai@a380cf2)) ### Bug Fixes * **client:** retry unmapped TLS transport errors ([openai#3982](openai#3982)) ([0d35a26](openai@0d35a26)) * **live:** avoid hangs at fractional transcript grouping deadlines ([openai#3970](openai#3970)) ([4ef4129](openai@4ef4129)) * **live:** keep query parameters out of WebSocket endpoint paths ([openai#3972](openai#3972)) ([f9c458b](openai@f9c458b)) * **live:** preserve caller queues and prevent uncertain WebSocket replay ([openai#3980](openai#3980)) ([80e9686](openai@80e9686)) * **realtime:** preserve base URL queries in WebSocket upgrades ([openai#3971](openai#3971)) ([f7bd4a7](openai@f7bd4a7)) * **realtime:** retain configured queues without replaying attempted sends ([openai#3978](openai#3978)) ([a52805c](openai@a52805c)) ### Chores * **api:** clarify documented API error responses ([openai#3965](openai#3965)) ([384fee3](openai@384fee3)) * **api:** document batch error responses ([openai#3961](openai#3961)) ([6e4a79c](openai@6e4a79c)) * **api:** document files and uploads error responses ([openai#3960](openai#3960)) ([a9d727f](openai@a9d727f)) * **api:** document fine-tuning and model errors ([openai#3964](openai#3964)) ([5d4003c](openai@5d4003c)) * **api:** document Responses not-found errors ([openai#3959](openai#3959)) ([63099e7](openai@63099e7)) * **api:** document stored chat completion errors ([openai#3963](openai#3963)) ([a73fe0c](openai@a73fe0c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
Summary
Clarifies error responses for stored chat completions without changing Python exception handling.
Changes