Skip to content

[Bug] Unsupported model version v1 for provider "ollama.chat" and model "qwen3:1.7b". AI SDK 5 only supports models that implement specification version "v2". #562

@jan-pzh

Description

@jan-pzh

问题描述
清晰、简洁地描述该问题的具体情况。
上传文档后,对文档生成问题时出现调用AI模型异常!异常提示为:
Error generating questions: eT [AI_UnsupportedModelVersionError]: Unsupported model version v1 for provider "ollama.chat" and model "qwen3:1.7b". AI SDK 5 only supports models that implement specification version "v2".
桌面设备(请完善以下信息)

  • 操作系统:Window
  • 浏览器:谷歌浏览器(Chrome)
  • Easy Dataset 版本:1.4.0

使用模型

  • 模型提供商:Ollama
  • 模型名称:qwen3-1.7b

复现步骤
重现该问题的操作步骤:

  1. 进入“文献处理”页面。
  2. 上传附件后,在“智能分割”页面中的文本块点击“生成问题”
  3. 这时会看到错误提示。

预期结果
正常的调用AI模型生成问题

截图
Image
Image

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