fix: conditionally render system instructions in Chat component
This commit is contained in:
1 parent
e171c7915a
commit
6471945076
1 file changed
+1
-1
@@ -224,7 +224,7 @@
|
||||
{$i18n.t('System Instructions')}
|
||||
</div>
|
||||
|
||||
{#if !showSystem}
|
||||
{#if !showSystem && system.trim()}
|
||||
<div class=" flex-1 text-gray-500 line-clamp-1">
|
||||
{system}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user