chore: update ogx-client to ^1.0.0 in UI lockfile - #5812
Merged
Conversation
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
cdoern
requested review from
bbrowning,
franciscojavierarceo,
leseb,
mattf and
raghotham
as code owners
May 12, 2026 14:55
leseb
approved these changes
May 12, 2026
Member
|
pushing the content of #5808 in here |
#5807) ## What does this PR do? Sanitize omitted headers before building requests in the library client. The OpenAI SDK can pass `Omit` and `NOT_GIVEN` sentinel values as header values, which cause `TypeError` crashes when passed through to `httpx.Request`. This PR adds header sanitization to filter out these sentinels and normalize supported types (bytes, int, float, bool) to strings. ## Test Plan ```bash uv run pytest tests/unit/distribution/test_library_client_initialization.py::TestAsyncOGXAsLibraryClientHeaderSanitization -q ``` Output: ``` .. [100%] 2 passed in 0.23s ``` Based on #5802 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Sébastien Han <seb@redhat.com> (cherry picked from commit f1fd682)
This was referenced May 12, 2026
Closed
cdoern
added this pull request to the merge queue
May 12, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Automated post-release npm lockfile update after v1.0.0.
Updates ogx-client to ^1.0.0 in the UI package lockfile.
This PR was created automatically by the post-release workflow.