GitHub Copilot gpt-5.4-mini is routed to unsupported Chat Completions endpoint
Environment
Reproduction
mux run --runtime local --mode exec --thinking low --json --hide-costs \
--model github-copilot:gpt-5.4-mini \
'Respond with exactly OK. Do not call tools. Do not add punctuation or explanation.'
Actual result
Mux selects routeProvider: "github-copilot" and posts to:
https://api.githubcopilot.com/chat/completions
Copilot returns HTTP 400:
model "gpt-5.4-mini" is not accessible via the /chat/completions endpoint
code: unsupported_api_for_model
The refreshed Copilot /models catalog contains gpt-5.4-mini. Control models github-copilot:gpt-5.4 and github-copilot:gpt-5-mini passed the same smoke test and a bash tool test.
Expected result
Mux should either:
- route this provider/model pair through a supported API mode; or
- mark/hide the model as unavailable until a supported transport exists.
The evidence proves that Chat Completions is rejected. It does not by itself prove that simply switching to Responses is sufficient.
Suspected area
src/common/utils/copilot/modelRouting.ts currently selects Responses only for model IDs containing -codex; all other Copilot models use Chat Completions. Dispatch occurs in src/node/services/providerModelFactory.ts.
Generated with mux • Model: openai:gpt-5.6-terra • Thinking: high • Cost: $1.34
GitHub Copilot gpt-5.4-mini is routed to unsupported Chat Completions endpoint
Environment
v0.28.1-nightly.12-7-gd25b50ecc-dirty(d25b50ecc)Linux x86_64github-copilot:gpt-5.4-miniReproduction
Actual result
Mux selects
routeProvider: "github-copilot"and posts to:Copilot returns HTTP 400:
The refreshed Copilot
/modelscatalog containsgpt-5.4-mini. Control modelsgithub-copilot:gpt-5.4andgithub-copilot:gpt-5-minipassed the same smoke test and a bash tool test.Expected result
Mux should either:
The evidence proves that Chat Completions is rejected. It does not by itself prove that simply switching to Responses is sufficient.
Suspected area
src/common/utils/copilot/modelRouting.tscurrently selects Responses only for model IDs containing-codex; all other Copilot models use Chat Completions. Dispatch occurs insrc/node/services/providerModelFactory.ts.Generated with
mux• Model:openai:gpt-5.6-terra• Thinking:high• Cost:$1.34