|
@@ -116,7 +116,10 @@
|
|
|
{$i18n.t('Google PSE API Key')}
|
|
|
</div>
|
|
|
|
|
|
- <SensitiveInput placeholder={$i18n.t('Enter Google PSE API Key')} bind:value={webConfig.search.google_pse_api_key} />
|
|
|
+ <SensitiveInput
|
|
|
+ placeholder={$i18n.t('Enter Google PSE API Key')}
|
|
|
+ bind:value={webConfig.search.google_pse_api_key}
|
|
|
+ />
|
|
|
</div>
|
|
|
<div class="mt-1.5">
|
|
|
<div class=" self-center text-xs font-medium mb-1">
|
|
@@ -141,7 +144,10 @@
|
|
|
{$i18n.t('Brave Search API Key')}
|
|
|
</div>
|
|
|
|
|
|
- <SensitiveInput placeholder={$i18n.t('Enter Brave Search API Key')} bind:value={webConfig.search.brave_search_api_key} />
|
|
|
+ <SensitiveInput
|
|
|
+ placeholder={$i18n.t('Enter Brave Search API Key')}
|
|
|
+ bind:value={webConfig.search.brave_search_api_key}
|
|
|
+ />
|
|
|
</div>
|
|
|
{:else if webConfig.search.engine === 'serpstack'}
|
|
|
<div>
|
|
@@ -149,7 +155,10 @@
|
|
|
{$i18n.t('Serpstack API Key')}
|
|
|
</div>
|
|
|
|
|
|
- <SensitiveInput placeholder={$i18n.t('Enter Serpstack API Key')} bind:value={webConfig.search.serpstack_api_key} />
|
|
|
+ <SensitiveInput
|
|
|
+ placeholder={$i18n.t('Enter Serpstack API Key')}
|
|
|
+ bind:value={webConfig.search.serpstack_api_key}
|
|
|
+ />
|
|
|
</div>
|
|
|
{:else if webConfig.search.engine === 'serper'}
|
|
|
<div>
|
|
@@ -157,7 +166,10 @@
|
|
|
{$i18n.t('Serper API Key')}
|
|
|
</div>
|
|
|
|
|
|
- <SensitiveInput placeholder={$i18n.t('Enter Serper API Key')} bind:value={webConfig.search.serper_api_key} />
|
|
|
+ <SensitiveInput
|
|
|
+ placeholder={$i18n.t('Enter Serper API Key')}
|
|
|
+ bind:value={webConfig.search.serper_api_key}
|
|
|
+ />
|
|
|
</div>
|
|
|
{:else if webConfig.search.engine === 'serply'}
|
|
|
<div>
|
|
@@ -165,7 +177,10 @@
|
|
|
{$i18n.t('Serply API Key')}
|
|
|
</div>
|
|
|
|
|
|
- <SensitiveInput placeholder={$i18n.t('Enter Serply API Key')} bind:value={webConfig.search.serply_api_key} />
|
|
|
+ <SensitiveInput
|
|
|
+ placeholder={$i18n.t('Enter Serply API Key')}
|
|
|
+ bind:value={webConfig.search.serply_api_key}
|
|
|
+ />
|
|
|
</div>
|
|
|
{:else if webConfig.search.engine === 'tavily'}
|
|
|
<div>
|
|
@@ -173,7 +188,10 @@
|
|
|
{$i18n.t('Tavily API Key')}
|
|
|
</div>
|
|
|
|
|
|
- <SensitiveInput placeholder={$i18n.t('Enter Tavily API Key')} bind:value={webConfig.search.tavily_api_key} />
|
|
|
+ <SensitiveInput
|
|
|
+ placeholder={$i18n.t('Enter Tavily API Key')}
|
|
|
+ bind:value={webConfig.search.tavily_api_key}
|
|
|
+ />
|
|
|
</div>
|
|
|
{/if}
|
|
|
</div>
|