mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
ca332db7eb
commit
ca5bafcd2f
1 changed files with 8 additions and 11 deletions
|
|
@ -785,8 +785,8 @@
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<option value="local">{$i18n.t('Self-Hosted')}</option>
|
<option value="local">{$i18n.t('local')}</option>
|
||||||
<option value="cloud">{$i18n.t('minerU managed (Cloud API)')}</option>
|
<option value="cloud">{$i18n.t('cloud')}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -802,15 +802,12 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- API Key (Cloud only) -->
|
<div class="flex w-full mt-2">
|
||||||
{#if RAGConfig.MINERU_API_MODE === 'cloud'}
|
<SensitiveInput
|
||||||
<div class="flex w-full mt-2">
|
placeholder={$i18n.t('Enter MinerU API Key')}
|
||||||
<SensitiveInput
|
bind:value={RAGConfig.MINERU_API_KEY}
|
||||||
placeholder={$i18n.t('Enter MinerU API Key')}
|
/>
|
||||||
bind:value={RAGConfig.MINERU_API_KEY}
|
</div>
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<!-- Parameters -->
|
<!-- Parameters -->
|
||||||
<div class="flex justify-between w-full mt-2">
|
<div class="flex justify-between w-full mt-2">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue