Repository navigation
fix: preserve OpenCode Go DeepSeek V4 max thinking - #99637
MonkeyLeeT wants to merge 1 commit into
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close as superseded: the useful intent is covered by the open, mergeable, proof-positive replacement at #99643, while this draft still carries the Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Keep the provider-profile replacement as the canonical path, then close duplicate issue/PR siblings after one fixed branch lands. So I’m closing this here and keeping the remaining discussion on #99643. Review detailsBest possible solution: Keep the provider-profile replacement as the canonical path, then close duplicate issue/PR siblings after one fixed branch lands. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows this branch only updates model maps while Is this the best way to solve the issue? No. This is a partial lower-level map fix; the better owner-boundary solution is the provider-profile approach in #99643, which also avoids the invalid Security review: Security review cleared: No concrete security or supply-chain concern is visible; the diff changes provider metadata and tests without touching dependencies, workflows, permissions, secrets, downloads, or install scripts. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 87d88878787b. |
|
@clawsweeper re-review Proof-only update: the PR body now includes redacted after-fix OpenCode Go payload proof and explicitly records the remaining command/profile validation proof result. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eb996427e1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Closes #99601
AI-assisted: yes (Codex).
What Problem This Solves
Fixes an issue where users selecting
/think maxor/think xhighwithopencode-go/deepseek-v4-prooropencode-go/deepseek-v4-flashwould have the requested thinking level silently clamped down before the OpenCode Go DeepSeek V4 request was built.Why This Change Was Made
The OpenCode Go DeepSeek V4 model rows now carry an explicit thinking-level map in both runtime catalog data and manifest metadata:
offdisables thinking, normal levels map to DeepSeek's low/medium/high efforts, andxhigh/maxmap to DeepSeek's max effort. The fix stays inside the opencode-go provider metadata so the existing generic clamp and DeepSeek V4 OpenAI-compatible stream wrapper continue to own their current behavior.User Impact
OpenCode Go DeepSeek V4 users can use max/xhigh thinking and have the request reach the provider as max effort instead of being downgraded to high. Static model discovery and runtime provider discovery now agree on the same DeepSeek V4 thinking capabilities.
Evidence
node scripts/run-vitest.mjs extensions/opencode-go/index.test.ts(12 passed)git diff --checkReal behavior proofcontext/evidence gate passed: https://github.com/openclaw/openclaw/actions/runs/28680430416reasoning_effortvalues.Redacted after-fix OpenCode Go payload proof at
eb996427e1c127760a99a3960b1ea87bc90a794a:Stronger real-transport proof from the same checkout:
Known remaining validation-path proof from the same probes:
That remaining validation-path result matches ClawSweeper's current code-path finding and is not claimed fixed by this proof-only evidence update.
Remote proof note: Testbox-through-Crabbox was attempted, but this operator environment does not have the
blacksmithCLI installed. Brokered Crabbox also reports missing coordinator auth, so there is no remotetbx_...orcbx_...id for this proof run.Autoreview was started, then interrupted at maintainer request to avoid blocking this draft PR; no autoreview verdict is included.