victor HF staff commited on
Commit
2ce726f
1 Parent(s): 2a5cd75

Update AssistantSettings.svelte (#941)

Browse files
src/lib/components/AssistantSettings.svelte CHANGED
@@ -325,7 +325,7 @@
325
  name="ragMode"
326
  value={"all"}
327
  />
328
- <span class="my-2 text-sm" class:font-semibold={ragMode === "all"}> Enabled </span>
329
  {#if ragMode === "all"}
330
  <span class="block text-xs text-gray-500">
331
  Assistant will do a web search on each user request to find information.
@@ -400,9 +400,7 @@
400
  </div>
401
  </div>
402
 
403
- <div
404
- class="ml-auto mt-6 flex w-fit justify-end gap-2 max-sm:fixed max-sm:bottom-6 max-sm:right-6"
405
- >
406
  <a
407
  href={assistant ? `${base}/settings/assistants/${assistant?._id}` : `${base}/settings`}
408
  class="flex items-center justify-center rounded-full bg-gray-200 px-5 py-2 font-semibold text-gray-600"
 
325
  name="ragMode"
326
  value={"all"}
327
  />
328
+ <span class="my-2 text-sm" class:font-semibold={ragMode === "all"}> Web search </span>
329
  {#if ragMode === "all"}
330
  <span class="block text-xs text-gray-500">
331
  Assistant will do a web search on each user request to find information.
 
400
  </div>
401
  </div>
402
 
403
+ <div class="fixed bottom-6 right-6 ml-auto mt-6 flex w-fit justify-end gap-2 sm:absolute">
 
 
404
  <a
405
  href={assistant ? `${base}/settings/assistants/${assistant?._id}` : `${base}/settings`}
406
  class="flex items-center justify-center rounded-full bg-gray-200 px-5 py-2 font-semibold text-gray-600"