fix(trajectory): expand preview thinking by default

This commit is contained in:
_Kerman committed 2026-09-09 18:19:51 +08:00
1 parent 632b8e19b4
commit f0810edd7f
1 file changed
-2
@@ -2084,8 +2084,6 @@ export function TrajectoryTable({
? thinkingDisclosure.expanded
: selected?.cell.kind === 'message'
&& Boolean(selected.cell.thinkingDetail?.trim())
&& !selected.cell.outputDetail?.trim()
&& !selected.cell.sourceBlocks?.some(block => block.type === 'tool-call')
const setThinkingExpanded = (expanded: boolean) => {
if (selectedRecordId !== null) {
setThinkingDisclosure({ recordId: selectedRecordId, expanded })