Update default Docling version to 2.71.0 to resolve table parsing issues (#12952)

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Josh
2026-02-03 03:24:51 +01:00
committed by GitHub
parent 6c9ca45b30
commit aa8d0a36f1

View File

@ -207,7 +207,7 @@ function start_mcp_server() {
function ensure_docling() {
[[ "${USE_DOCLING}" == "true" ]] || { echo "[docling] disabled by USE_DOCLING"; return 0; }
DOCLING_PIN="${DOCLING_VERSION:-==2.58.0}"
DOCLING_PIN="${DOCLING_VERSION:-==2.71.0}"
"$PY" -c "import importlib.util,sys; sys.exit(0 if importlib.util.find_spec('docling') else 1)" \
|| uv pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --extra-index-url https://pypi.org/simple --no-cache-dir "docling${DOCLING_PIN}"
}