fix: expand details ui settings

This commit is contained in:
Timothy Jaeryang Baek
2026-04-01 05:08:28 -05:00
parent 7c52382c90
commit 7bfd9ac8ac
2 changed files with 3 additions and 3 deletions
@@ -31,7 +31,7 @@
export let messageDone = true;
let open = false;
let open = $settings?.expandDetails ?? false;
function parseJSONString(str: string) {
try {
@@ -381,7 +381,7 @@
id={`${id}-${tokenIdx}-${detailIdx}-tc`}
attributes={detailToken.attributes}
grouped={true}
open={false}
open={$settings?.expandDetails ?? false}
className="w-full space-y-1"
/>
{:else if textContent.length > 0}
@@ -428,7 +428,7 @@
<ToolCallDisplay
id={`${id}-${tokenIdx}-tc`}
attributes={token.attributes}
open={false}
open={$settings?.expandDetails ?? false}
className="w-full space-y-1"
/>
{:else if textContent.length > 0}