Repository navigation
fix(client): preserve falsy custom HTTP clients #3774
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
Hughhhhcoder
wants to merge
5
commits into
openai:main
Choose a base branch
from
Hughhhhcoder:codex/openai-python-preserve-falsy-http-client
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
750d27c
fix(client): preserve explicitly provided HTTP clients
Hughhhhcoder 623c4ab
fix(client): address falsy client review feedback
Hughhhhcoder 6ec5ef8
fix(client): preserve falsy clients in copies
Hughhhhcoder e943f8a
fix(client): preserve falsy clients in Bedrock copies
Hughhhhcoder 5c0a15b
Merge upstream main and preserve falsy HTTP clients
Hughhhhcoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the next SDK regeneration, this module-level fix will be discarded because
src/openai/__init__.pyis generator-owned inscripts/castiron/generated-files.json, and regeneration replaces owned files without replaying handwritten patches. The parent file matches its recorded generated hash, whereas this commit changes it without a corresponding generation update. The ownership guidance inAGENTS.md, viaCONTRIBUTING.md#modifyingadding-code, explicitly prohibits hand-editing generated output. Implement this accessor change in the authoritative generator/configuration and regenerate the output and inventory so the falsy-client regression does not return.AGENTS.md reference: AGENTS.md:L7-L7
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for catching this. I confirmed that
src/openai/__init__.pyis listed inscripts/castiron/generated-files.jsonand that the contribution guide requires changes to generated files to come from the authoritative generator. My merge update included a direct edit, so this finding remains unresolved.I could not find the authored compiler/configuration or an external regeneration workflow for this accessor in the public checkout. Could a maintainer point me to the appropriate source and regeneration procedure, or advise how this generated change should be handled? I will not edit the inventory by hand.
AI-assisted analysis, checked against the current inventory and contribution guide.