修复mineru部署的backend选项

This commit is contained in:
xunbu
2025-11-04 20:18:57 +08:00
parent 2a766e82bd
commit 5a72601928
4 changed files with 109 additions and 103 deletions

View File

@@ -429,7 +429,7 @@ class MarkdownWorkflowParams(BaseWorkflowParams):
"http://127.0.0.1:8000",
description="[仅当 convert_engine='mineru_deploy'] 本地部署的 MinerU 服务地址。",
)
mineru_deploy_backend: Literal["pipeline", "vlm"] = Field(
mineru_deploy_backend: Literal["pipeline", "transformers", "mlx-engine", "vllm-engine", "vllm-async-engine"] = Field(
"pipeline",
description="[仅当 convert_engine='mineru_deploy'] 本地部署的 MinerU 服务使用的后端。",
)