Refa: better UX for adding OCR model (#12034)

### What problem does this PR solve?

Better UX for adding OCR model.

### Type of change

- [x] Refactoring
This commit is contained in:
Yongteng Lei
2025-12-19 11:34:21 +08:00
committed by GitHub
parent f8fd1ea7e1
commit 2844700dc4
4 changed files with 46 additions and 11 deletions

View File

@ -1110,6 +1110,9 @@ Example: Virtual Hosted Style`,
mcp: 'MCP',
mineru: {
modelNameRequired: 'Model name is required',
apiServerRequired: 'MinerU API Server Configuration is required',
serverUrlBackendLimit:
'MinerU Server URL Address is only available for the HTTP client backend',
apiserver: 'MinerU API Server Configuration',
outputDir: 'MinerU Output Directory Path',
backend: 'MinerU Processing Backend Type',
@ -1121,6 +1124,11 @@ Example: Virtual Hosted Style`,
vlmTransformers: 'Vision Language Model with Transformers',
vlmVllmEngine: 'Vision Language Model with vLLM Engine',
vlmHttpClient: 'Vision Language Model via HTTP Client',
vlmMlxEngine: 'Vision Language Model with MLX Engine',
vlmVllmAsyncEngine:
'Vision Language Model with vLLM Async Engine (Experimental)',
vlmLmdeployEngine:
'Vision Language Model with LMDeploy Engine (Experimental)',
},
},
},