refac: tag handling

This commit is contained in:
Timothy Jaeryang Baek committed 2025-08-06 13:32:28 +04:00
1 parent e9fb161bcd
commit 2e36540023
2 files changed
+18 -5

No files matched your search

+3 -1
View File
@@ -114,7 +114,9 @@
<div class="">
{#if attributes?.type === 'reasoning'}
{#if attributes?.done === 'true' && attributes?.duration}
{#if attributes.duration < 60}
{#if attributes.duration < 1}
{$i18n.t('Thought for less than a second')}
{:else if attributes.duration < 60}
{$i18n.t('Thought for {{DURATION}} seconds', {
DURATION: attributes.duration
})}