This commit is contained in:
Timothy Jaeryang Baek
2026-04-24 18:29:39 +09:00
parent 3d1e355df7
commit 70b28b629e
@@ -1369,7 +1369,14 @@
)}
/>
</Tooltip>
</div>
{#if RAGConfig.RAG_TEMPLATE && ((RAGConfig.RAG_TEMPLATE.match(/\[context\]/g) || []).length + (RAGConfig.RAG_TEMPLATE.match(/\{\{CONTEXT\}\}/g) || []).length) > 1}
<div class="mt-1 text-xs text-gray-400 dark:text-gray-500">
{$i18n.t('This template contains multiple context placeholders ([context] or {{CONTEXT}}). Context will be injected at each occurrence.')}
</div>
{/if}
</div>
</div>
{/if}