fix(ui): increase rolling results hold to 2s and context rows to 5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kit Langton
2026-03-05 16:09:44 -05:00
parent d7a57ff7ff
commit 4ac47addd9
3 changed files with 3 additions and 3 deletions

View File

@@ -227,7 +227,7 @@ export function ContextToolRollingResults(props: { parts: ToolPart[]; pending: b
<div style={{ opacity: reduce() ? (show() ? 1 : 0) : opacity(), filter: `blur(${reduce() ? 0 : blur()}px)` }}>
<RollingResults
items={props.parts}
rows={3}
rows={5}
rowHeight={22}
rowGap={0}
open={props.pending}

View File

@@ -546,7 +546,7 @@ export function AssistantParts(props: {
return result
})
const ctxPendingRaw = useContextToolPending(ctxParts, () => !!(props.working && ctx()?.tail))
const ctxPending = hold(ctxPendingRaw, 1000)
const ctxPending = hold(ctxPendingRaw)
const shell = createMemo(() => {
const value = part()
if (!value) return

View File

@@ -53,7 +53,7 @@ export function ShellRollingResults(props: { part: ToolPart; animate?: boolean }
onMount(() => setMounted(true))
const state = createMemo(() => props.part.state as Record<string, any>)
const pending = createMemo(() => busy(props.part.state.status))
const open = hold(pending, 1000)
const open = hold(pending)
const command = createMemo(() => {
const value = state().input?.command ?? state().metadata?.command
if (typeof value === "string") return value