Skip to content

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

Update mineru/utils/llm_aided.py

Xiaomeng Zhaoad29a6a02a4a
diff --git a/mineru/utils/llm_aided.py b/mineru/utils/llm_aided.py
index 3157a952..03e669d9 100644
--- a/mineru/utils/llm_aided.py
+++ b/mineru/utils/llm_aided.py
@@ -92,7 +92,7 @@ Corrected title list:
"stream": True,
}
- # 只有配置中明确指定时才添加 extra_body
+ # Only add extra_body when explicitly specified in config
if "enable_thinking" in title_aided_config:
api_params["extra_body"] = {"enable_thinking": title_aided_config["enable_thinking"]}