mirror of
https://github.com/open-webui/open-webui.git
synced 2026-01-04 15:45:21 +00:00
fix: conditionally render system instructions in Chat component
This commit is contained in:
parent
9d11aa82f9
commit
d53a930410
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue