Repository navigation
Conversation
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.
With
OPENAI_API_KEYset and an explicit lower-case--header authorization=Bearer ..., generation uses the explicit key but the tokenizer/alignment and metrics probes can send the environment key instead. Their case-sensitivedict.setdefault("Authorization", ...)creates two spellings; aiohttp normalizes them and the later environment value wins. This causes 401s, skipped alignment and missing metrics against a server expecting the explicit key.Use one probe-header helper that checks Authorization case-insensitively before adding the environment fallback. Preserve the caller's dictionary and other headers. Apply it to alignment and both speculative/diffusion metric scrapes.
Validation on pinned vLLM 0.33.0:
The
[qwen38] bench-probe-errorssource topic was exported withscripts/export-patch.sh, andPATCHES.mdregenerated. Generated hunks were not hand-edited.Current-head CI (
18d22dcd): all seven checks pass, including the Docker build/install verifier and patch-integrity gates.