chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-04-12 22:11:10 -05:00
parent cb6e77be3e
commit 20544d412e
3 changed files with 12 additions and 8 deletions
@@ -199,8 +199,9 @@
{:else}
<div class="tool-call-body w-full max-w-none!">
<pre
class="text-xs text-gray-600 dark:text-gray-300 whitespace-pre font-mono bg-gray-50 dark:bg-gray-900 rounded-lg p-2.5 overflow-x-auto"
>{formatJSONString(args)}</pre>
class="text-xs text-gray-600 dark:text-gray-300 whitespace-pre font-mono bg-gray-50 dark:bg-gray-900 rounded-lg p-2.5 overflow-x-auto">{formatJSONString(
args
)}</pre>
</div>
{/if}
</div>
@@ -217,8 +218,11 @@
<div class="w-full max-w-none!">
{#if typeof parsedResult === 'object' && parsedResult !== null}
<pre
class="text-xs text-gray-600 dark:text-gray-300 whitespace-pre font-mono bg-gray-50 dark:bg-gray-900 rounded-lg p-2.5 overflow-x-auto"
>{JSON.stringify(parsedResult, null, 2)}</pre>
class="text-xs text-gray-600 dark:text-gray-300 whitespace-pre font-mono bg-gray-50 dark:bg-gray-900 rounded-lg p-2.5 overflow-x-auto">{JSON.stringify(
parsedResult,
null,
2
)}</pre>
{:else}
{@const resultStr = String(parsedResult)}
{@const isTruncated = resultStr.length > RESULT_PREVIEW_LIMIT && !expandedResult}