chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-03-25 16:43:06 -05:00
parent 05252e19b5
commit 350d52f515
73 changed files with 766 additions and 55 deletions
@@ -29,9 +29,9 @@
$: toolCallCount = tokens.filter((t) => t?.attributes?.type === 'tool_calls').length;
$: reasoningCount = tokens.filter((t) => t?.attributes?.type === 'reasoning').length;
$: hasPending = !messageDone && tokens.some(
(t) => t?.attributes?.done !== undefined && t?.attributes?.done !== 'true'
);
$: hasPending =
!messageDone &&
tokens.some((t) => t?.attributes?.done !== undefined && t?.attributes?.done !== 'true');
$: codeInterpreterCount = tokens.filter((t) => t?.attributes?.type === 'code_interpreter').length;
@@ -367,7 +367,11 @@
</ul>
{/if}
{:else if token.type === 'detail_group'}
<ConsecutiveDetailsGroup id={`${id}-${tokenIdx}-detail-group`} tokens={token.items} messageDone={done}>
<ConsecutiveDetailsGroup
id={`${id}-${tokenIdx}-detail-group`}
tokens={token.items}
messageDone={done}
>
<div slot="content" class="space-y-1">
{#each token.items as detailToken, detailIdx}
{@const textContent = getDetailTextContent(detailToken)}