fix: conditionally render system instructions in Chat component

This commit is contained in:
Pavel Garaev 2025-10-24 19:56:01 +04:00
parent e171c7915a
commit 6471945076

View file

@ -224,7 +224,7 @@
{$i18n.t('System Instructions')} {$i18n.t('System Instructions')}
</div> </div>
{#if !showSystem} {#if !showSystem && system.trim()}
<div class=" flex-1 text-gray-500 line-clamp-1"> <div class=" flex-1 text-gray-500 line-clamp-1">
{system} {system}
</div> </div>