Repository navigation
Merge upstream new-api main (10 commits through a2defd2a8) - #129
Merged
Merged
Conversation
…antumNous#8047) (QuantumNous#8075) Azure channels with responses_websocket_enabled were rejected by FilterResponsesWebSocket, and the channel form hid the toggle for type 3. The OpenAI adaptor already builds the Azure /openai/v1/responses URL with api-version and sets the api-key header, and DoWssRequest reuses both, so no relay URL change is needed.
MaskSensitiveInfo trimmed trailing punctuation one byte at a time and recounted the parentheses of the whole URL for each trailing ')'. Trim the punctuation set, including ')', with strings.TrimRight; the trimmed characters are still appended after the masked URL.
Takes the 10 upstream commits since 34003e9 without waiting for v1.0.0-rc.48, for the security advisory fix to MaskSensitiveInfo (relaykit/relayconvert/kitutil/mask.go), which rescanned the whole URL for each trailing ')'. Also: Bedrock Invoke safeguards, Cloudflare embedding data, exact bare done markers in streams, Azure Responses WebSocket opt-in, affinity fallback priority, param override regex caching, GPT-6.1 parameter rules, and perf metrics for non-stream and immediate task results. No conflicts. controller/relay.go and pkg/perf_metrics/outcome.go changed on both sides; the upstream hunks touch only perf metrics. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 of 5 tasks
This was referenced Nov 3, 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.
Summary
Merges the 10 upstream
QuantumNous/new-apicommits since34003e9c2, ahead ofv1.0.0-rc.48, mainly for the security advisory fix toMaskSensitiveInfo(relaykit/relayconvert/kitutil/mask.go), which rescanned the whole URL for each trailing).Also included: Bedrock Invoke safeguards, Cloudflare embedding response data, exact bare done markers in streams, Azure Responses WebSocket opt-in, affinity fallback starting at the highest priority, cached param override regexes, GPT-6.1 parameter rules, and perf metrics for non-stream and immediate task results.
controller/relay.goandpkg/perf_metrics/outcome.gowere changed on both sides; the upstream hunks touch only perf metrics.mainis merged instead of a tag.Merge with a merge commit, not squash, so the upstream parent is kept.
Verification
go vet ./...passes.go teston the CI packages pluspkg/perf_metrics,relay/common,relay/helper,relay/channel/aws,relay/channel/cloudflareandrelay: exit 0.go test -race ./pkg/deployment ./pkg/riskpolicypasses.relaykit:GOWORK=off go build ./...and thekitutil/dtotests pass.bun run lint:check(no new findings),bun run typecheck,bunx vitest run(254 files, 2776 tests) pass.🤖 Generated with Claude Code