Skip to content

Validate Electron proof settings per reasoning mode - #395

Merged
jjang-ai merged 1 commit into
mainfrom
fix/ui-proof-reasoning-mode-20261120
Nov 21, 2026
Merged

jjang-ai merged 1 commit into
mainfrom
fix/ui-proof-reasoning-mode-20261120

Conversation

@jjang-ai

Copy link
Copy Markdown
Owner

The Electron proof supports visibly changing Thinking after turn one. Its assertions assumed one reasoning requirement and one sampler configuration for the whole session. The checker could reject valid Off turns and their bundle-owned sampler defaults.

The proof now ties each subsequent request to the persisted mode and its assistant message. It checks the embedded or sidecar sampling contract and rejects reasoning leakage while Thinking is Off. Explicit sampler overrides keep their existing priority.

The 204 existing harness tests passed with the implementation and the added regression passed independently after correcting its drawer fixture. Replay of five correlated requests from a real Qwen DFlash2 developer Electron chat passes. A wrong Off sampler and a mismatched thinking mode both fail separately.

@jjang-ai
jjang-ai merged commit 78c671a into main Nov 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant