Skip to content

After thinking about the closure of the Qwen model, the schema verification failed. #37

Description

@heavenzhen999

What happened

使用了 qwen3.7-flash 模型,并关闭思考模式。

The exact command

Paste the full command, redacting only real API keys.

npx @liustack/modlens analyze --input ~/Desktop/1.jpg

The full error

我再尝试解析一个示例图片时报错了,应该是关闭思考出现的问题。

Error: OpenAI-compatible API returned JSON that does not match the vision schema (missing: visual.notes). Retry, or switch to gemini-api / anthropic for enforced schemas. Got: {
"summary": "The image is a vertical, dark-themed flowchart titled 'Cyberpunk 2077 Main Quest Flow' (赛博朋克2077主线任务流程), outlining the narrative paths of the video game. It begins with three character origin choices (Rogue, Corpo, Street Kid) that merge into initial quests, then split into three prima...

Harness and environment

  • Harness (Claude Code / Codex / Pi / OpenCode / plain terminal): Deepseek Harness
  • Provider (-p):
  • modlens --version: 3.16.4
  • node --version: 22.20.0
  • OS: MacOS Tahoe 26.5.2

Expected

这个已经找到一个解决方案,会在下边评论中,贴上我的 config.json 内容。若采用这个 config.json,则希望在文档中增加 Qwen 关闭思考模式的配置说明,或者开发者可以采用其他的解决方案。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions