Skip to content

Unrecognized request argument supplied: enable_thinking #3859

@v912485

Description

@v912485

🔎 Search before asking | 提交之前请先搜索

  • I have searched the MinerU Readme and found no similar bug report.
  • I have searched the MinerU Issues and found no similar bug report.
  • I have searched the MinerU Discussions and found no similar bug report.

🤖 Consult the online AI assistant for assistance | 在线 AI 助手咨询

Description of the bug | 错误描述

After upgrading to version 2.6.2 with title_aided/enable set to true in the mineru.json file I get the error:
"Unrecognized request argument supplied: enable_thinking"

I use an OpenAI model for the llm-aided-config and I suspect that the new version has this new argument added which specific to QWEN but not recognised by OpenAI.

Please ensure cross model compatibility for the llm-aided-config.

How to reproduce the bug | 如何复现

  • Install mineru version 2.6.2
  • Configure llm-aided-config in mineru.json with the following values:
    "title_aided": {
    "api_key": API_KEY,
    "base_url": "https://api.openai.com/v1",
    "model": "gpt-4.1-mini",
    "enable": true
    }
  • Process any PDF

Operating System Mode | 操作系统类型

Linux

Operating System Version| 操作系统版本

Ubuntu 24.04

Python version | Python 版本

3.12

Software version | 软件版本 (mineru --version)

=2.5

Backend name | 解析后端

vlm

Device mode | 设备模式

cuda

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions