enh: arena models toggle tooltip

Co-Authored-By: silentoplayz <50341825+silentoplayz@users.noreply.github.com>
This commit is contained in:
Timothy J. Baek 2024-10-22 18:28:08 -07:00
parent 0a765744b8
commit 5499b5acc8

View File

@ -87,7 +87,10 @@
<div class=" mb-2">
<div class="flex justify-between items-center text-xs">
<div class=" text-xs font-medium">{$i18n.t('Arena Models')}</div>
<Switch bind:state={config.ENABLE_EVALUATION_ARENA_MODELS} />
<Tooltip content={$i18n.t(`Message rating should be enabled to use this feature`)}>
<Switch bind:state={config.ENABLE_EVALUATION_ARENA_MODELS} />
</Tooltip>
</div>
</div>