Revises #1463 after the hidden-reasoning inflation review. Keep answers separate, retain evidence in routes and cached ledger rows, and exclude sealed or summary-only reasoning even without a token breakdown. Sync the backend and both GUI formulas. Checked real WorkBuddy DeepSeek, Codex and Claude bridge responses in an isolated HOME; sanitized timings and failures are in docs/verification. Chromium/WebKit speed regressions pass (20 tests, five languages). New edge regressions and loop-order check pass under race repetition. Restoring the old formula or removing the hidden guard fails TestVisibleReasoningSpeed. macOS/Linux/Windows vet/build pass. Full-suite verification is recorded in the issue at this head; inherited proxy/Bun 1.3.14 failures are retained, with clean Bun 1.4.2 rerun in progress. No installed app replacement. Rebased onto main by yetone (#1463). Conflicts with main's Own/Retried/ Queued/Tries row fields, HandedOn and the Codex speed floors were resolved by keeping both. The packed row's ReasoningHidden bit was 64, which main has since given to block_price.go's swapKnown, and main's rowHandedOn took 128, filling the uint8: Flags is now uint16 and ReasoningHidden is bit 512 (rowReasoningHidden; #1874's rowOwnCost took 256), read back in row(). The docs/verification notes and their sample JSON are left out of the tree; they stay on the contributor's branch and the issue. Run after the rebase: go test -tags nogui ./internal/usage/ and the gateway's reasoning/speed/TTFT tests, ok.
162 lines
2.2 KiB
JSON
162 lines
2.2 KiB
JSON
{
|
|
"source": "WorkBuddy DeepSeek v4.1 flash; 2026-10-10; translated Chat reasoning_content",
|
|
"first_reasoning_ms": 6787,
|
|
"events": [
|
|
{
|
|
"at_ms": 6789,
|
|
"delta": "We"
|
|
},
|
|
{
|
|
"at_ms": 6831,
|
|
"delta": " need"
|
|
},
|
|
{
|
|
"at_ms": 6841,
|
|
"delta": " answer"
|
|
},
|
|
{
|
|
"at_ms": 6841,
|
|
"delta": "."
|
|
},
|
|
{
|
|
"at_ms": 6851,
|
|
"delta": " Need"
|
|
},
|
|
{
|
|
"at_ms": 6852,
|
|
"delta": " compute"
|
|
},
|
|
{
|
|
"at_ms": 6877,
|
|
"delta": " "
|
|
},
|
|
{
|
|
"at_ms": 6877,
|
|
"delta": "17"
|
|
},
|
|
{
|
|
"at_ms": 6877,
|
|
"delta": "*"
|
|
},
|
|
{
|
|
"at_ms": 6877,
|
|
"delta": "23"
|
|
},
|
|
{
|
|
"at_ms": 6877,
|
|
"delta": "="
|
|
},
|
|
{
|
|
"at_ms": 6877,
|
|
"delta": "391"
|
|
},
|
|
{
|
|
"at_ms": 6883,
|
|
"delta": ","
|
|
},
|
|
{
|
|
"at_ms": 6883,
|
|
"delta": " "
|
|
},
|
|
{
|
|
"at_ms": 6883,
|
|
"delta": "29"
|
|
},
|
|
{
|
|
"at_ms": 6883,
|
|
"delta": "*"
|
|
},
|
|
{
|
|
"at_ms": 6883,
|
|
"delta": "31"
|
|
},
|
|
{
|
|
"at_ms": 6888,
|
|
"delta": "="
|
|
},
|
|
{
|
|
"at_ms": 6888,
|
|
"delta": "899"
|
|
},
|
|
{
|
|
"at_ms": 6888,
|
|
"delta": ","
|
|
},
|
|
{
|
|
"at_ms": 6888,
|
|
"delta": " sum"
|
|
},
|
|
{
|
|
"at_ms": 6888,
|
|
"delta": " "
|
|
},
|
|
{
|
|
"at_ms": 6888,
|
|
"delta": "129"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": "0"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": "."
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": " Call"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": " check"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": "_value"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": " with"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": " "
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": "129"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": "0"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": "."
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": " Then"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": " final"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": " concise"
|
|
},
|
|
{
|
|
"at_ms": 7002,
|
|
"delta": "."
|
|
}
|
|
],
|
|
"record": {
|
|
"out": 76,
|
|
"reasoning": 37,
|
|
"ms": 7518,
|
|
"ttft_ms": 6787,
|
|
"flow_ms": 187
|
|
}
|
|
}
|