refac
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user