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
{{ message }}
Repository navigation
[Bug]: /thinking levels not available for github-copilot provider models (e.g. claude-sonnet-4.6) #99240
P2Normal backlog priority with limited blast radius.bugSomething isn't workingbug:behaviorIncorrect behavior without a crashclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivity
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
/thinking high (and all levels except off) rejected with "not supported for github-copilot/claude-sonnet-4.6, use one of: off"
Steps to reproduce
Configure OpenClaw with github-copilot as the provider and a dynamically-discovered model (e.g. claude-sonnet-4.6) in agents.defaults.models with an empty config entry ({})
Start a session using that model
Run /thinking high
Observe error: "not supported for github-copilot/claude-sonnet-4.6, use one of: off"
Expected behavior
OpenClaw should not error, and should use the requested reasoning level
Actual behavior
error: "not supported for github-copilot/claude-sonnet-4.6, use one of: off"
OpenClaw github-copilot provider plugin → GitHub Copilot API
Additional provider/model setup details
No response
Logs
Screenshots, recordings, and evidence
No response
Impact and severity
Affected: Users wanting to use github copilot models with a(ny) specified reasoning level
Severity: Low (annoying)
Frequency: Always
Consequence: openclaw is potentially dumber, but still works
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 2, 2026, 5:31 PM ET / 21:31 UTC.
Summary
Keep open: current main and v2026.6.11 still have a source-level path where Copilot Claude model metadata can collapse /thinking to off-only, and the related live-catalog work does not fully cover this narrower dynamic/live Claude metadata case.
Reproducibility: yes. at source level, but not with a fresh live account: current code can produce a reasoning: false Copilot Claude row, and the shared thinking resolver turns that into off-only validation. Live Copilot proof is still missing for the exact upstream claude-sonnet-4.6 metadata payload.
Next step
The remaining bug is narrow and source-reproducible, but live Copilot metadata proof would improve confidence before landing.
Review details
Best possible solution:
Fix the GitHub Copilot provider metadata path so dynamic or live Copilot Claude rows expose supported thinking levels while preserving core off-only validation for truly non-reasoning catalog rows.
Do we have a high-confidence way to reproduce the issue?
Yes at source level, but not with a fresh live account: current code can produce a reasoning: false Copilot Claude row, and the shared thinking resolver turns that into off-only validation. Live Copilot proof is still missing for the exact upstream claude-sonnet-4.6 metadata payload.
Is this the best way to solve the issue?
Yes, the likely best fix is provider-owned metadata correction in the GitHub Copilot model path rather than a generic core bypass. The core reasoning: false guard should remain intact for models that truly do not support thinking.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
No live Copilot account proof was available in this read-only review, so the exact current upstream /models payload for claude-sonnet-4.6 still needs redacted live confirmation before landing a behavior fix.
A fix must preserve the generic off-only behavior for providers or models that explicitly and correctly declare reasoning: false.
Codex review notes: model internal, reasoning high; reviewed against 1a508d7915ef.
Label changes
Label justifications:
P2: The issue affects a bounded provider/model capability path and leaves the model usable with thinking off, so it is normal priority rather than urgent.
impact:auth-provider: The failure comes from provider/model metadata and causes OpenClaw to reject a thinking level for a GitHub Copilot model choice.
If live Copilot credentials are available, verify /thinking high on github-copilot/claude-sonnet-4.6 with redacted output.
What I checked:
Current dynamic fallback can mark Copilot Claude non-reasoning: The synthetic Copilot model resolver only sets reasoning for o1/o3/Codex-style ids; its existing test table explicitly includes claude-sonnet-4.6 in the non-reasoning set. (extensions/github-copilot/models.ts:96, 1a508d7915ef)
Current live mapper depends only on reasoning_effort: The Copilot /models mapper sets reasoning true only when capabilities.supports.reasoning_effort is a non-empty array, so Claude live rows that advertise thinking another way can still become non-reasoning rows. (extensions/github-copilot/models.ts:213, 1a508d7915ef)
Current thinking resolver makes explicit non-reasoning rows off-only: The shared resolver skips provider/Claude thinking profiles when catalog reasoning is false, then returns the off-only profile used by the reported validation error. (src/auto-reply/thinking.ts:215, 1a508d7915ef)
Copilot provider profile otherwise exposes normal thinking levels: The bundled Copilot provider policy exposes off, minimal, low, medium, and high, so the off-only result is caused by catalog metadata gating rather than the provider profile lacking those levels. (extensions/github-copilot/provider-policy-api.ts:5, 1a508d7915ef)
Latest release still has the same source shape: The reporter's release tag v2026.6.11 contains the same dynamic fallback reasoning predicate and off-only reasoning === false guard, so this is not proven fixed in the latest release. (extensions/github-copilot/models.ts:96, e085fa1a3ffd)
fuller-stack-dev: Merged PR feat(github-copilot): resolve any model ID dynamically #51325 introduced the Copilot dynamic any-model resolver and tests for fallback model synthesis. (role: introduced dynamic resolver behavior; confidence: high; commits: 5137a5130746; files: extensions/github-copilot/models.ts, extensions/github-copilot/models.test.ts)
efpiva: Merged PR github-copilot: live catalog discovery via /models + add gpt-5.5 #79566 added Copilot /models discovery and maps live reasoning_effort metadata into model definitions. (role: introduced live catalog behavior; confidence: high; commits: 75405f64d0a7, 880c0944072d; files: extensions/github-copilot/index.ts, extensions/github-copilot/models.ts, extensions/github-copilot/models.test.ts)
wangwllu: Merged PR fix(thinking): apply Claude profile to anthropic-messages catalog rows #92053 changed the shared Claude/anthropic-messages thinking-profile path that now interacts with catalog reasoning: false. (role: adjacent thinking resolver contributor; confidence: medium; commits: 43b4e2769928; files: src/auto-reply/thinking.ts, src/plugins/provider-claude-thinking.ts, src/plugin-sdk/provider-model-shared.ts)
vincentkoc: Merged PR fix(github-copilot): enable xhigh for gpt-5.4 #66437 changed the Copilot xhigh thinking surface and is adjacent to provider-owned thinking metadata. (role: recent adjacent Copilot thinking contributor; confidence: medium; commits: a70fdc88e083; files: extensions/github-copilot/index.ts, extensions/github-copilot/model-metadata.ts)
How this review workflow works
ClawSweeper keeps one durable marker-backed review comment per issue or PR.
Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
Maintainers can also comment @clawsweeper review to request a fresh review only.
Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Closing due to inactivity.
If this is still an issue, please retry on the latest OpenClaw release and share updated details.
If you are absolutely sure it still happens on the latest release, open a new issue with fresh steps to reproduce.
P2Normal backlog priority with limited blast radius.bugSomething isn't workingbug:behaviorIncorrect behavior without a crashclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivity
Activity
clawsweeper commentedon Jul 2, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 2, 2026, 5:31 PM ET / 21:31 UTC.
Summary
Keep open: current main and
v2026.6.11still have a source-level path where Copilot Claude model metadata can collapse/thinkingto off-only, and the related live-catalog work does not fully cover this narrower dynamic/live Claude metadata case.Reproducibility: yes. at source level, but not with a fresh live account: current code can produce a
reasoning: falseCopilot Claude row, and the shared thinking resolver turns that into off-only validation. Live Copilot proof is still missing for the exact upstreamclaude-sonnet-4.6metadata payload.Next step
The remaining bug is narrow and source-reproducible, but live Copilot metadata proof would improve confidence before landing.
Review details
Best possible solution:
Fix the GitHub Copilot provider metadata path so dynamic or live Copilot Claude rows expose supported thinking levels while preserving core off-only validation for truly non-reasoning catalog rows.
Do we have a high-confidence way to reproduce the issue?
Yes at source level, but not with a fresh live account: current code can produce a
reasoning: falseCopilot Claude row, and the shared thinking resolver turns that into off-only validation. Live Copilot proof is still missing for the exact upstreamclaude-sonnet-4.6metadata payload.Is this the best way to solve the issue?
Yes, the likely best fix is provider-owned metadata correction in the GitHub Copilot model path rather than a generic core bypass. The core
reasoning: falseguard should remain intact for models that truly do not support thinking.AGENTS.md: found and applied where relevant.
Remaining risk / open question:
/modelspayload forclaude-sonnet-4.6still needs redacted live confirmation before landing a behavior fix.reasoning: false.Codex review notes: model internal, reasoning high; reviewed against 1a508d7915ef.
Label changes
Label justifications:
P2: The issue affects a bounded provider/model capability path and leaves the model usable with thinking off, so it is normal priority rather than urgent.impact:auth-provider: The failure comes from provider/model metadata and causes OpenClaw to reject a thinking level for a GitHub Copilot model choice.Evidence reviewed
Acceptance criteria:
/thinking highongithub-copilot/claude-sonnet-4.6with redacted output.What I checked:
reasoningfor o1/o3/Codex-style ids; its existing test table explicitly includesclaude-sonnet-4.6in the non-reasoning set. (extensions/github-copilot/models.ts:96, 1a508d7915ef)reasoning_effort: The Copilot/modelsmapper setsreasoningtrue only whencapabilities.supports.reasoning_effortis a non-empty array, so Claude live rows that advertise thinking another way can still become non-reasoning rows. (extensions/github-copilot/models.ts:213, 1a508d7915ef)reasoningis false, then returns the off-only profile used by the reported validation error. (src/auto-reply/thinking.ts:215, 1a508d7915ef)off,minimal,low,medium, andhigh, so the off-only result is caused by catalog metadata gating rather than the provider profile lacking those levels. (extensions/github-copilot/provider-policy-api.ts:5, 1a508d7915ef)v2026.6.11contains the same dynamic fallback reasoning predicate and off-onlyreasoning === falseguard, so this is not proven fixed in the latest release. (extensions/github-copilot/models.ts:96, e085fa1a3ffd)extensions/github-copilot/models.tsfallback behavior. (extensions/github-copilot/models.ts:96, 5137a5130746)Likely related people:
extensions/github-copilot/models.ts,extensions/github-copilot/models.test.ts)/modelsdiscovery and maps livereasoning_effortmetadata into model definitions. (role: introduced live catalog behavior; confidence: high; commits: 75405f64d0a7, 880c0944072d; files:extensions/github-copilot/index.ts,extensions/github-copilot/models.ts,extensions/github-copilot/models.test.ts)reasoning: false. (role: adjacent thinking resolver contributor; confidence: medium; commits: 43b4e2769928; files:src/auto-reply/thinking.ts,src/plugins/provider-claude-thinking.ts,src/plugin-sdk/provider-model-shared.ts)extensions/github-copilot/index.ts,extensions/github-copilot/model-metadata.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.fix(github-copilot): preserve thinking levels for Claude models
fix(github-copilot): preserve Claude thinking levels in bundled polic…
fix(github-copilot): enable /thinking levels for Claude models via Co…
openclaw-barnacle commentedon Jul 17, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
openclaw-barnacle commentedon Jul 25, 2026
Closing due to inactivity.
If this is still an issue, please retry on the latest OpenClaw release and share updated details.
If you are absolutely sure it still happens on the latest release, open a new issue with fresh steps to reproduce.