From d1f1703d4e6672cf4ff79f7312d1a6709be16795 Mon Sep 17 00:00:00 2001 From: eeee0717 Date: Wed, 4 Jun 2025 17:53:23 +0800 Subject: [PATCH] chore --- src/renderer/src/store/preprocess.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/renderer/src/store/preprocess.ts b/src/renderer/src/store/preprocess.ts index 92c183579..a13931773 100644 --- a/src/renderer/src/store/preprocess.ts +++ b/src/renderer/src/store/preprocess.ts @@ -8,6 +8,12 @@ export interface PreprocessState { const initialState: PreprocessState = { providers: [ + { + id: 'mineru', + name: 'MinerU', + apiKey: '', + apiHost: 'https://mineru.net' + }, { id: 'doc2x', name: 'Doc2x', @@ -21,12 +27,6 @@ const initialState: PreprocessState = { apiKey: '', apiHost: 'https://api.mistral.ai' }, - { - id: 'mineru', - name: 'MinerU', - apiKey: '', - apiHost: 'https://mineru.net' - }, { id: 'system', name: 'System(Mac Only)', @@ -36,7 +36,7 @@ const initialState: PreprocessState = { } } ], - defaultProvider: '' + defaultProvider: 'mineru' } const preprocessSlice = createSlice({ name: 'preprocess',