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',