Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

docs(next): fix review findings — internal_error is api_error's fallback code, models description is null

Luban51f6ff6b5c29
diff --git a/docs/next/api/health-models.md b/docs/next/api/health-models.md
index d4458094..713da2bd 100644
--- a/docs/next/api/health-models.md
+++ b/docs/next/api/health-models.md
@@ -85,12 +85,13 @@ GET /v1/models HTTP/1.1
"object": "model",
"created": 1700000000,
"owned_by": "mineru",
- "description": "VLM-based high-accuracy parsing model."
+ "description": null
}
]
}
```
+- 描述性 tier 文案(如 `Standard parsing for most documents.`)属于 `/v1/tiers` 返回的 tier info;`/v1/models` 的 `description` 当前为 `null`。
Local Parse Server 默认(`--tier standard`)按上述顺序返回 `MinerU-Flash`、`Hybrid-Basic`、`MinerU-HTML`、`MinerU2.5-Pro-2605-1.2B`;实际模型列表由启动 `--tier`(与 `--no-flash`)决定。
模型对象字段:
@@ -121,7 +122,7 @@ GET /v1/models/MinerU2.5-Pro-2605-1.2B HTTP/1.1
"object": "model",
"created": 1700000000,
"owned_by": "mineru",
- "description": "VLM-based high-accuracy parsing model."
+ "description": null
}
```
@@ -149,7 +150,7 @@ GET /v1/tiers HTTP/1.1
"data": [
{
"id": "standard",
- "description": "Standard parsing for most documents.",
+ "description": null,
"current_model": "MinerU2.5-Pro-2605-1.2B"
}
]
diff --git a/docs/next/api/responses.md b/docs/next/api/responses.md
index 4825b5a3..c15f5170 100644
--- a/docs/next/api/responses.md
+++ b/docs/next/api/responses.md
@@ -94,8 +94,8 @@ Idempotency-Key: 7f5b7f7c-5c5a-4b2f-bb89-0c901c9a2d6a
| `rate_limit_error` | 请求触发限流。 |
| `engine_error` | 解析引擎不可用、崩溃或解析失败。 |
| `timeout_error` | 请求等待或处理超时。 |
-| `internal_error` | 服务端内部错误(未归类异常)。 |
-| `api_error` | 服务端 API 层错误(存储、元数据、远端依赖等副作用失败)。 |
+| `internal_error` | 未归类异常的服务端内部错误;作为 `api_error` type 下的 code 出现(兜底 handler `api_server.py:2295-2305`),不是独立 type。 |
+| `api_error` | 服务端 API 层错误(存储、元数据、远端依赖等副作用失败),同时也是未归类异常兜底 handler 返回的 type。 |
## 常用错误码