← Back to Pull requests

Honor the thinking setting in local vision replies #902

Merged
jackboyla merged 2 files (25 lines) on Nov 30, 2026 11:34 UTC
View on GitHub
jackboyla jackboyla commented on Nov 27, 2026 21:22 UTC
Author

Qwen3.5-4B returned thinking text in vision replies with thinking turned off. Both vision prompt builders omitted enable_thinking, so Qwen used its template default.

Pass the setting to the Transformers and MLX prompt builders. With a real image, the Qwen processor closed the thinking block when disabled and left it open when enabled. The separate generation settings change already landed in #831.

Split from #806.

Diff: 25 lines (+24 / -1) across 2 files Reviewer: andimarafioti Review duration: 3732m
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.24) × (1 − Review Confidence (0.68)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.24 · 25 lines diff across 2 files
0.24
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
0.35
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
67%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.195
Real PR Conversation Timeline
2 items
andimarafioti andimarafioti approved these changes on Nov 30, 2026 11:34 UTC
Approved Reviewer
Reviewers
Assignees
jackboyla jackboyla
Labels
risk: low confidence: 67.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 23.9% (LOW) · Higher = larger blast radius
23.9%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 67.5% · Lower = rushed or shallow review
67.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 7.8% · Safe to merge
7.8%