diff --git a/cptr/frontend/src/lib/components/Admin/Settings.svelte b/cptr/frontend/src/lib/components/Admin/Settings.svelte deleted file mode 100644 index 592f7c5..0000000 --- a/cptr/frontend/src/lib/components/Admin/Settings.svelte +++ /dev/null @@ -1,255 +0,0 @@ - - -
- {config['auth.signup_enabled'] ? $t('admin.signUpEnabled') : $t('admin.signUpDisabled')} -
- - -- {config['web.enabled'] !== false ? $t('admin.webEnabledHint') : $t('admin.webDisabledHint')} -
- - {#if config['web.enabled'] !== false} - -{$t('admin.webAutoHint')}
- {:else if provider === 'exa'} -- {$t('admin.webExaHint')} -
-- {$t('admin.webTavilyHint')} -
-- {$t('admin.webBraveHint')} -
-- {$t('admin.webDuckDuckGoNote')} -
- {:else if provider === 'perplexity'} -- {$t('admin.webPerplexityHint')} -
-- {$t('admin.webCcHint')} -
-+ {signupEnabled ? $t('admin.signUpEnabled') : $t('admin.signUpDisabled')} +
++ {webEnabled ? $t('admin.webEnabledHint') : $t('admin.webDisabledHint')} +
+ + {#if webEnabled} ++ {#if searchProvider === 'auto'} + {$t('admin.webAutoHint')} + {:else if searchProvider === 'duckduckgo'} + {$t('admin.webDuckDuckGoNote')} + {/if} +
+ + {#if searchProvider === 'exa'} +{$t('admin.webExaHint')}
+{$t('admin.webTavilyHint')}
+{$t('admin.webBraveHint')}
+{$t('admin.webPerplexityHint')}
+{$t('admin.webCcHint')}
+ {/if} + {/if} ++ Give the AI access to a web browser for navigating pages, clicking elements, and taking screenshots. +
+ + {#if browserEnabled} ++ {#if browserProvider === 'local'} + Connects to Chrome via DevTools Protocol. Full interactive browsing with clicking, typing, and screenshots. + {:else if browserProvider === 'firecrawl'} + Cloud API that converts web pages to markdown. Fast extraction, no interactive browsing. + {:else} + Cloud API for LLM-driven browser tasks. Describe what you need in natural language. + {/if} +
+ + {#if browserProvider === 'local'} + + ++ {testResult.message} +
+ {/if} +Change for self-hosted Firecrawl instances
+- Give the AI access to a web browser for navigating pages, clicking elements, and taking screenshots. -
-- {#if provider === 'local'} - Connects to Chrome via DevTools Protocol. Full interactive browsing with clicking, typing, and screenshots. - {:else if provider === 'firecrawl'} - Cloud API that converts web pages to markdown. Fast extraction, no interactive browsing. - {:else} - Cloud API for LLM-driven browser tasks. Describe what you need in natural language. - {/if} -
- - - {#if provider === 'local'} -- {testResult.message} -
- {/if} -Change for self-hosted Firecrawl instances
-