chore(api): clarify documented API error responses - #3965
Conversation
Castiron-Internal-PR: openai/openai-python-internal#161 Castiron-Source-SHA: d7da583237a5ded5d7aeb2a38b6855a1e359bfd6 Castiron-Public-Base-SHA: 5d4003c
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 36188751248 --repo openai/openai-python \
--name castiron-custom-code-36188751248-1 --dir /tmp/castiron-custom-code-36188751248-1
git apply --stat /tmp/castiron-custom-code-36188751248-1/custom-code.patch
cat /tmp/castiron-custom-code-36188751248-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 5d4003c12d5df5a5faed35971cac3bcb711fdf7d dcec5b136841a9735f574c3854258b0fa91176c1
python3 scripts/castiron/custom_code_report.py report \
--base 5d4003c12d5df5a5faed35971cac3bcb711fdf7d \
--head dcec5b136841a9735f574c3854258b0fa91176c1 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-dcec5b136841
cat /tmp/castiron-custom-code-dcec5b136841/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
|
Thanks for reviewing. The approved head is unchanged and still contains only the error-reference update and generation metadata; existing client APIs, exception types and runtime behavior are preserved. |
Summary
Clarifies documented error responses for Python users without changing existing client behavior.
Changes