fix(azure): normalize GPT-5 chat completion parameters - #2809
Open
royanrosyad85 wants to merge 22 commits into
Open
royanrosyad85 wants to merge 22 commits into
royanrosyad85 wants to merge 22 commits into
Conversation
…ormation for GPT-5 compatibility
askidmobile
added a commit
to askidmobile/9router
that referenced
this pull request
Aug 5, 2026
golamrabbi696
added a commit
to golamrabbi696/EzRouter
that referenced
this pull request
Aug 12, 2026
rabbi696
pushed a commit
to golamrabbi696/EzRouter
that referenced
this pull request
Aug 20, 2026
…k fail-open - killCloudflared: only set intentionalKill when a process was actually killed so fresh children keep real exit diagnostics - probeUrlAlive: resolve via public DNS (1.1.1.1/8.8.8.8) + force IPv4; local resolvers filtering *.trycloudflare.com made healthy tunnels probe dead - enableTunnel: short-link worker registration fails open, never takes down a live quick tunnel - package.json: allowScripts for better-sqlite3 native build - add unit tests for tunnel healthcheck
Sync master with fix/azure-custom-endpoint (tunnel fixes, Azure executor)
One-command update for non-primary environments: preflight checks (clean tree, no local divergence), DB backup, ff-only pull from origin, deps, smoke tests, build, service restart, and live-version verification via /api/version. Never merges upstream and refuses non-fast-forwards.
…ve service restart logic
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
max_tokenstomax_completion_tokensfor GPT-5.5 series and reasoning deploymentsmax_completion_tokenswithout mutating the source requestreasoning_effortvalues for function-tool Chat CompletionsProblem
Some OpenAI-compatible coding clients send request parameters that Azure GPT-5 and reasoning deployments reject on
/chat/completions, including:max_tokenstemperaturevaluesreasoning_efforttogether with function toolsThese combinations can cause HTTP 400 responses.
Tests
npm run build: passedScope
This PR only updates Azure Chat Completions compatibility.
It does not: