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
chat: an opened thinking row prints its first line twice #1636
details carries no open state and no onToggle, so .bt-think-peek is in the DOM in every state. core/src/client/styles.js (CONVERSATION_CSS, ~:890) only styles .bt-think[open] .bt-think-caret, and has no rule for the peek in the open state.
Reproduced against the real cells.js with an esbuild harness, reasoning text Looking at the store first\nThen the second line:
details props: ["className","children"]
summary text: ›Thought it throughLooking at the store first
body (div.bt-think-text) starts with the same Looking at the store first
So an opened row shows a truncated grey copy of its own first line above the full text.
Expected
Closed: unchanged — label plus the one-line peek, which is what #1624 asked for.
Opened: the summary shows the label only (no duplicated sentence), the body shows the reasoning once.
Fix (scope)
One CSS rule in CONVERSATION_CSS, e.g. .bt-think[open] .bt-think-peek{display:none} — or, if you prefer, conditional rendering on toggle; either way the closed state must render byte-identically to today.
Out of scope: turn-reasoning.js, the empty guard, "live draws no row", the peek's wording/charset (that is a separate improvement: fence lines, grapheme-safe truncation, ellipsis).
Acceptance
the open state's summary no longer contains the body's first line (one new test that sets/toggles the open state);
the existing core/test/thinking-row.test.js cases (closed state, 5 cases from #1631) still pass unchanged;
Activity
HugoXK commentedon Oct 29, 2026
Release
Written-by: FlyBot Lead
Released: f1b0c1c8af10498cb45709de2bcf4589
Reason: Released: merged as #1637 (merge 4f8ef0d)
At: 2026-10-29T06:42:28Z
fix(chat): keep the folded thinking row's preview to prose, whole (Th…
chat: the folded thinking row does not clip to its column — one long …