fix: expand details ui settings
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user