You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[aw-failures] PR Sous Chef 100% red — Copilot main agent requests gpt-5.5, SDK returns 400 "not accessible via /chat/completio
[Content truncated due to length] #42444
Fix PR Sous Chef's Copilot model routing — gpt-5.5 must go through the OpenAI Responses API, not /chat/completions, or every scheduled run dies before the agent does any work.
In-flight fix already open: #42421 ("route gpt-5.5 through OpenAI Responses API wireApi=responses"). This issue tracks the failure + a secondary harness bug it exposes.
Problem statement
Both PR Sous Chef runs in the last 6h failed identically: the Copilot SDK driver rejects the configured model on its first request with 400 model "gpt-5.5" is not accessible via the /chat/completions endpoint. The agent produces 0 turns and empty output (agent_output.json: {"items":[],"errors":[]}) — no safe outputs, no PR triage. This is a hard red, distinct from the false-red tracked in #41636.
Affected workflows and run IDs
PR Sous Chef (.github/workflows/pr-sous-chef.lock.yml)
§28422468107 — comparator (same signature, all 4 retries)
Successful baseline for diff: run 28406960482 (cohort match) ran 28 turns; failed run ran 0 — classic immediate-400 regression.
Probable root cause
gpt-5.5 is a Responses-API-only model; routing it through the chat-completions wire API returns a deterministic 400. PR Sous Chef's resolved model/engine config still targets /chat/completions.
Secondary harness bug (actionable separately): the harness misclassifies this terminal error — isModelNotSupportedError=false, isHTTP400ResponseError=false, every flag false, failureClass=partial_execution — so it burns all 4 retries on an identical, non-retryable 400 before exiting 1. It should detect not accessible via the /chat/completions endpoint as terminal and fail fast (or auto-route to /responses).
Evidence (agent-stdio.log)
[copilot-sdk-driver] [sdk-driver] error: 400 model "gpt-5.5" is not accessible via the /chat/completions endpoint
[copilot-harness] attempt 1 failed: exitCode=1 failureClass=partial_execution isModelNotSupportedError=false isHTTP400ResponseError=false ... retriesRemaining=3
... attempts 2,3,4 identical ... retriesRemaining=0
agent_output.json: {"items":[],"errors":[]}
Add a harness terminal-error matcher for not accessible via the /chat/completions endpoint → set isModelNotSupportedError/endpoint-mismatch true and stop retrying.
Success criteria / verification
Next scheduled PR Sous Chef run reaches >0 turns and emits safe outputs (or completes clean no-op).
No gpt-5.5 ... /chat/completions 400 in agent-stdio.log.
A simulated endpoint-mismatch 400 fails fast (1 attempt, not 4) in harness retry tests.
Fix PR Sous Chef's Copilot model routing —
gpt-5.5must go through the OpenAI Responses API, not/chat/completions, or every scheduled run dies before the agent does any work.In-flight fix already open: #42421 ("route gpt-5.5 through OpenAI Responses API
wireApi=responses"). This issue tracks the failure + a secondary harness bug it exposes.Problem statement
Both PR Sous Chef runs in the last 6h failed identically: the Copilot SDK driver rejects the configured model on its first request with
400 model "gpt-5.5" is not accessible via the /chat/completions endpoint. The agent produces 0 turns and empty output (agent_output.json: {"items":[],"errors":[]}) — no safe outputs, no PR triage. This is a hard red, distinct from the false-red tracked in #41636.Affected workflows and run IDs
.github/workflows/pr-sous-chef.lock.yml)Probable root cause
gpt-5.5is a Responses-API-only model; routing it through the chat-completions wire API returns a deterministic 400. PR Sous Chef's resolved model/engine config still targets/chat/completions.Secondary harness bug (actionable separately): the harness misclassifies this terminal error —
isModelNotSupportedError=false,isHTTP400ResponseError=false, every flagfalse,failureClass=partial_execution— so it burns all 4 retries on an identical, non-retryable 400 before exiting 1. It should detectnot accessible via the /chat/completions endpointas terminal and fail fast (or auto-route to/responses).Evidence (agent-stdio.log)
Proposed remediation
gpt-5.5resolves through the Responses API (wireApi=responses) for the Copilot engine; verify PR Sous Chef's lock file picks it up after recompile.not accessible via the /chat/completions endpoint→ setisModelNotSupportedError/endpoint-mismatch true and stop retrying.Success criteria / verification
gpt-5.5 ... /chat/completions400 inagent-stdio.log.Existing issue correlation
general-purposesubagent requests tier-unsupported model → SDK 400 `model [Content truncated due to length] #42095 (that is a subagent requesting a tier-unsupported model on PR Code Quality Reviewer,isModelNotSupportedError=true, no retry). Different agent, error class, and retry behavior.References: §28425976809, §28422468107