feat: add vLLM server URL configuration for MinerU

Add support for configuring vLLM server URL when using vlm-http-client or hybrid-http-client backend in MinerU.

Changes:
- internal/types/tenant.go: Add MinerUVLMServerURL field to ParserEngineConfig
- internal/infrastructure/docparser/mineru_converter.go: Pass server_url to MinerU API when backend is vlm-http-client or hybrid-http-client
- frontend/src/api/system/index.ts: Add TypeScript type definition
- frontend/src/views/settings/ParserEngineSettings.vue: Add vLLM server URL input field
- frontend/src/i18n/locales/*.ts: Add translations (zh-CN, en-US, ko-KR)
This commit is contained in:
knight
2026-05-20 14:46:13 +08:00
committed by lyingbug
parent e62c0563aa
commit 513e589494
8 changed files with 40 additions and 2 deletions
+1
View File
@@ -74,6 +74,7 @@ export interface ParserEngineConfig {
mineru_api_key?: string
// MinerU 自建参数
mineru_model?: string
mineru_vlm_server_url?: string
mineru_enable_formula?: boolean | null
mineru_enable_table?: boolean | null
mineru_enable_ocr?: boolean | null