This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-01 02:25:20 -05:00
1 parent ab22fe64bd
commit 8fe480250f
1 file changed
+4 -4
@@ -1247,12 +1247,14 @@
</div> </div>
{/if} {/if}
</div> </div>
{/if}
<div class="mb-3"> <div class="mb-3">
<div class=" mt-0.5 mb-2.5 text-base font-medium">{$i18n.t('Retrieval')}</div> <div class=" mt-0.5 mb-2.5 text-base font-medium">{$i18n.t('Retrieval')}</div>
<hr class=" border-gray-100/30 dark:border-gray-850/30 my-2" /> <hr class=" border-gray-100/30 dark:border-gray-850/30 my-2" />
{#if !RAGConfig.BYPASS_EMBEDDING_AND_RETRIEVAL}
<div class=" mb-2.5 flex w-full justify-between"> <div class=" mb-2.5 flex w-full justify-between">
<div class=" self-center text-xs font-medium">{$i18n.t('Full Context Mode')}</div> <div class=" self-center text-xs font-medium">{$i18n.t('Full Context Mode')}</div>
<div class="flex items-center relative"> <div class="flex items-center relative">
@@ -1500,14 +1502,13 @@
</div> </div>
{/if} {/if}
{/if} {/if}
{/if}
<div class=" mb-2.5 flex flex-col w-full justify-between"> <div class=" mb-2.5 flex flex-col w-full justify-between">
<div class=" mb-1 text-xs font-medium">{$i18n.t('RAG Template')}</div> <div class=" mb-1 text-xs font-medium">{$i18n.t('RAG Template')}</div>
<div class="flex w-full items-center relative"> <div class="flex w-full items-center relative">
<Tooltip <Tooltip
content={$i18n.t( content={$i18n.t('Leave empty to use the default prompt, or enter a custom prompt')}
'Leave empty to use the default prompt, or enter a custom prompt'
)}
placement="top-start" placement="top-start"
className="w-full" className="w-full"
> >
@@ -1529,7 +1530,6 @@
{/if} {/if}
</div> </div>
</div> </div>
{/if}
<div class="mb-3"> <div class="mb-3">
<div class=" mt-0.5 mb-2.5 text-base font-medium">{$i18n.t('Files')}</div> <div class=" mt-0.5 mb-2.5 text-base font-medium">{$i18n.t('Files')}</div>