Skip to content

qmd embed hangs at 'Gathering information' step - infinite loop #440

@glorywuma-cmd

Description

@glorywuma-cmd

问题描述

qmd embed 命令在 "Gathering information" 步骤卡住,无限输出终端控制码,无法完成。

环境

  • qmd 版本: 2.0.1
  • Node 版本: v22.22.0
  • 平台: macOS Darwin 25.3.0 (arm64)
  • 安装方式: npm install -g @tobilu/qmd

复现步骤

  1. 创建任意 collection: qmd collection add <path> --name test --mask "*.md"
  2. 运行 qmd embedqmd embed -c test
  3. 程序卡在 "Gathering information" 步骤

测试结果

  • 就算是 1 个只有 4 个字符的文件,还是卡住
  • 重定向输出到文件 (> log.txt 2>&1) 也一样
  • 不是网络/模型下载问题(无网络活动)
  • 不是输入文件问题(最小测试也卡住)

日志/输出

⠋ Gathering information
[2K[1A[2K[G⠙ Gathering information
[2K[1A[2K[G⠹ Gathering information
... (无限循环)

临时解决方案

qmd search(关键词搜索)代替,不需要 embed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions