From 8fe480250f649824441a7b4d725a502683134713 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 1 Jul 2026 02:25:20 -0500 Subject: [PATCH] refac --- .../admin/Settings/Documents.svelte | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index ba38a05659..23e758d9de 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -1247,12 +1247,14 @@ {/if} + {/if} -
-
{$i18n.t('Retrieval')}
+
+
{$i18n.t('Retrieval')}
-
+
+ {#if !RAGConfig.BYPASS_EMBEDDING_AND_RETRIEVAL}
{$i18n.t('Full Context Mode')}
@@ -1500,36 +1502,34 @@
{/if} {/if} + {/if} -
-
{$i18n.t('RAG Template')}
-
- +
{$i18n.t('RAG Template')}
+
+ +