mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
fix: conditionally render system instructions in Chat component
This commit is contained in:
parent
e171c7915a
commit
6471945076
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue